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

