tests/auto/qxmlstream/data/011.xml
author Alex Gilkes <alex.gilkes@nokia.com>
Mon, 11 Jan 2010 14:00:40 +0000
changeset 0 1918ee327afb
permissions -rw-r--r--
Revision: 200952

<?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/&tilde;wilbur">

<bar a:attr="1" b:attr="2"/>

</foo>