Test case rmt-ns11-006: com.jclark.xml.sax.SAX2Driver Passed

Test case rmt-ns11-006: com.jclark.xml.sax.SAX2Driver Passed

Test whether non-Latin-1 characters are accepted in IRIs, and whether they are correctly distinguished

<?xml version="1.1"?>
<!-- Test whether non-Latin-1 characters are accepted in IRIs, and whether
     they are correctly distinguished -->
<!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>
]>
<foo xmlns:a="http://example.org/&#x50;"
     xmlns:b="http://example.org/&#x150;"
     xmlns:c="http://example.org/&#x250;">

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

</foo>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>http://example.org/P</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>http://example.org/Ő</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>c</prefix>
        <data>http://example.org/ɐ</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://example.org/P</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>a:attr</qualifiedName>
                <value>1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://example.org/Ő</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>b:attr</qualifiedName>
                <value>2</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://example.org/ɐ</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>c:attr</qualifiedName>
                <value>3</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix>a</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>b</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>c</prefix>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>http://example.org/P</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>http://example.org/Ő</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>c</prefix>
        <data>http://example.org/ɐ</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://example.org/P</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>a:attr</qualifiedName>
                <value>1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://example.org/Ő</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>b:attr</qualifiedName>
                <value>2</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://example.org/ɐ</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>c:attr</qualifiedName>
                <value>3</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix>a</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>b</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>c</prefix>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>