tests/auto/qxmlstream/data/011.xml
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 22 Apr 2010 16:15:11 +0300
branchRCL_3
changeset 14 8c4229025c0b
parent 0 1918ee327afb
permissions -rw-r--r--
930346f3335f271b808bd69409c708262673ba3a

<?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>