Test case rmt-ns10-004: com.jclark.xml.sax.SAX2Driver Passed

Test case rmt-ns10-004: com.jclark.xml.sax.SAX2Driver Passed

Namespace name test: a relative URI (deprecated)

<?xml version="1.0"?>
<!-- Namespace name test: a relative URI (deprecated) -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo xmlns CDATA #IMPLIED>]
>
<foo xmlns="namespaces/zaphod"/>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix/>
        <data>namespaces/zaphod</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>namespaces/zaphod</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI>namespaces/zaphod</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>namespaces/zaphod</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>namespaces/zaphod</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI>namespaces/zaphod</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix/>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>