Test case rmt-ns10-005: org.apache.crimson.parser.XMLReaderImpl Passed

Test case rmt-ns10-005: org.apache.crimson.parser.XMLReaderImpl Passed

Namespace name test: a same-document relative URI (deprecated)

<?xml version="1.0"?>
<!-- Namespace name test: a same-document relative URI (deprecated) -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo xmlns CDATA #IMPLIED>
]>
<foo xmlns="#beeblebrox"/>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix/>
        <data>#beeblebrox</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>#beeblebrox</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI>#beeblebrox</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix/>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix/>
        <data>#beeblebrox</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>#beeblebrox</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI>#beeblebrox</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix/>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>