Test case rmt-ns10-012: org.apache.crimson.parser.XMLReaderImpl Failed

Test case rmt-ns10-012: org.apache.crimson.parser.XMLReaderImpl Failed

Namespace inequality test: equal after attribute value normalization

<?xml version="1.0"?>
<!-- Namespace inequality test: equal after attribute value normalization -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo xmlns:a CDATA #IMPLIED
              xmlns:b NMTOKEN #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="urn:xyzzy"
     xmlns:b=" urn:xyzzy ">

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

</foo>

Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>urn:xyzzy</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>urn:xyzzy</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\n</char>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>urn:xyzzy</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>urn:xyzzy</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>urn:xyzzy</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>a:attr</qualifiedName>
                <value>1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>urn:xyzzy</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>b:attr</qualifiedName>
                <value>2</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>
    <endDocument/>
</ConformanceResults>