diff options
Diffstat (limited to 'tests/auto/qxmlstream/data/011.xml')
-rw-r--r-- | tests/auto/qxmlstream/data/011.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/data/011.xml b/tests/auto/qxmlstream/data/011.xml new file mode 100644 index 0000000..f22269b --- /dev/null +++ b/tests/auto/qxmlstream/data/011.xml @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<!-- Namespace equality test: use of entity reference --> +<!DOCTYPE foo [ +<!ELEMENT foo ANY> +<!ATTLIST foo xmlns:a CDATA #IMPLIED + xmlns:b CDATA #IMPLIED + xmlns:c CDATA #IMPLIED> +<!ELEMENT bar ANY> +<!ATTLIST bar a:attr CDATA #IMPLIED + b:attr CDATA #IMPLIED + c:attr CDATA #IMPLIED> +<!ENTITY tilde "~"> +]> +<foo xmlns:a="http://example.org/~wilbur" + xmlns:b="http://example.org/˜wilbur"> + +<bar a:attr="1" b:attr="2"/> + +</foo> + |