aboutsummaryrefslogtreecommitdiffstats
path: root/test/defattr.xml
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-08-07 01:10:10 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-08-07 01:10:10 +0000
commit48da91009715d1fcafa5f2b48b58e4009a41e998 (patch)
treeb75a9e9546394d1298e2dc70b03f5df8eb4a65fb /test/defattr.xml
parent50f3437111a6428b4852740e83db4848b0b09a97 (diff)
downloadandroid_external_libxml2-48da91009715d1fcafa5f2b48b58e4009a41e998.tar.gz
android_external_libxml2-48da91009715d1fcafa5f2b48b58e4009a41e998.tar.bz2
android_external_libxml2-48da91009715d1fcafa5f2b48b58e4009a41e998.zip
allow to inherit attributes from the DTD directly in the tree, this is
* SAX.c testXPath.c valid.c xmllint.c include/libxml/valid.h: allow to inherit attributes from the DTD directly in the tree, this is needed for XPath and can be a useful feature. Inherited namespaces are always provided at the tree level now * test/defattr* result/defattr* result/noent/defattr*: added a couple of tests for this feature (XSLT being the prime user). Daniel
Diffstat (limited to 'test/defattr.xml')
-rw-r--r--test/defattr.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/defattr.xml b/test/defattr.xml
new file mode 100644
index 00000000..3f16a502
--- /dev/null
+++ b/test/defattr.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE doc [
+<!ELEMENT doc EMPTY>
+<!ATTLIST doc
+ xmlns CDATA #FIXED "http://www.example.com/">
+]>
+<doc/>