diff options
Diffstat (limited to 'libxml2/test/xmlid')
-rw-r--r-- | libxml2/test/xmlid/id_err1.xml | 1 | ||||
-rw-r--r-- | libxml2/test/xmlid/id_err2.xml | 5 | ||||
-rw-r--r-- | libxml2/test/xmlid/id_tst1.xml | 1 | ||||
-rw-r--r-- | libxml2/test/xmlid/id_tst2.xml | 1 | ||||
-rw-r--r-- | libxml2/test/xmlid/id_tst3.xml | 1 | ||||
-rw-r--r-- | libxml2/test/xmlid/id_tst4.xml | 4 |
6 files changed, 13 insertions, 0 deletions
diff --git a/libxml2/test/xmlid/id_err1.xml b/libxml2/test/xmlid/id_err1.xml new file mode 100644 index 0000000..d8c47cc --- /dev/null +++ b/libxml2/test/xmlid/id_err1.xml @@ -0,0 +1 @@ +<foo xml:id="0bar"/> diff --git a/libxml2/test/xmlid/id_err2.xml b/libxml2/test/xmlid/id_err2.xml new file mode 100644 index 0000000..99010a7 --- /dev/null +++ b/libxml2/test/xmlid/id_err2.xml @@ -0,0 +1,5 @@ +<!DOCTYPE foo [ +<!ELEMENT foo EMPTY> +<!ATTLIST foo xml:id CDATA #IMPLIED> +]> +<foo xml:id="bar"/> diff --git a/libxml2/test/xmlid/id_tst1.xml b/libxml2/test/xmlid/id_tst1.xml new file mode 100644 index 0000000..7c3249c --- /dev/null +++ b/libxml2/test/xmlid/id_tst1.xml @@ -0,0 +1 @@ +<foo xml:id="bar"/> diff --git a/libxml2/test/xmlid/id_tst2.xml b/libxml2/test/xmlid/id_tst2.xml new file mode 100644 index 0000000..2bf5861 --- /dev/null +++ b/libxml2/test/xmlid/id_tst2.xml @@ -0,0 +1 @@ +<n:foo xml:id="bar"/> diff --git a/libxml2/test/xmlid/id_tst3.xml b/libxml2/test/xmlid/id_tst3.xml new file mode 100644 index 0000000..7316a13 --- /dev/null +++ b/libxml2/test/xmlid/id_tst3.xml @@ -0,0 +1 @@ +<f:o:o xml:id="bar"/> diff --git a/libxml2/test/xmlid/id_tst4.xml b/libxml2/test/xmlid/id_tst4.xml new file mode 100644 index 0000000..ea057a3 --- /dev/null +++ b/libxml2/test/xmlid/id_tst4.xml @@ -0,0 +1,4 @@ +<doc> +<foo xml:id="bar"/> +<err xml:id="bar"/> +</doc> |