Test case rmt-ns10-039: oracle.xml.parser.v2.SAXParser Failed

Test case rmt-ns10-039: oracle.xml.parser.v2.SAXParser Failed

Attribute uniqueness: prefixed and unprefixed attributes with same local name, with default namespace

<?xml version="1.0"?>
<!-- Attribute uniqueness: prefixed and unprefixed attributes with same
     local name, with default namespace -->
<foo xmlns:a="http://example.org/~wilbur"
     xmlns:b="http://example.org/~kipper"
     xmlns="http://example.org/~wilbur">

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

</foo>
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix/>
        <data>http://example.org/~wilbur</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>http://example.org/~wilbur</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>http://example.org/~kipper</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>http://example.org/~wilbur</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI>http://example.org/~kipper</namespaceURI>
        <localName>bar</localName>
        <qualifiedName>b:bar</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://example.org/~wilbur</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>a:attr</qualifiedName>
                <value>1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>2</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI>http://example.org/~kipper</namespaceURI>
        <localName>bar</localName>
        <qualifiedName>b:bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <endElement>
        <namespaceURI>http://example.org/~wilbur</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix/>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>a</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>b</prefix>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix/>
        <data>http://example.org/~wilbur</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>http://example.org/~wilbur</data>
    </startPrefixMapping>
    <startPrefixMapping>
        <prefix>b</prefix>
        <data>http://example.org/~kipper</data>
    </startPrefixMapping>
    <startElement>
        <namespaceURI>http://example.org/~wilbur</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/2000/xmlns/</namespaceURI>
                <localName>a</localName>
                <qualifiedName>xmlns:a</qualifiedName>
                <value>http://example.org/~wilbur</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://www.w3.org/2000/xmlns/</namespaceURI>
                <localName>b</localName>
                <qualifiedName>xmlns:b</qualifiedName>
                <value>http://example.org/~kipper</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI>http://www.w3.org/2000/xmlns/</namespaceURI>
                <localName>xmlns</localName>
                <qualifiedName>xmlns</qualifiedName>
                <value>http://example.org/~wilbur</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <ignorable>\n</ignorable>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI>http://example.org/~kipper</namespaceURI>
        <localName>bar</localName>
        <qualifiedName>b:bar</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://example.org/~wilbur</namespaceURI>
                <localName>attr</localName>
                <qualifiedName>a:attr</qualifiedName>
                <value>1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>2</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI>http://example.org/~kipper</namespaceURI>
        <localName>bar</localName>
        <qualifiedName>b:bar</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI>http://example.org/~wilbur</namespaceURI>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endPrefixMapping>
        <prefix/>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>a</prefix>
    </endPrefixMapping>
    <endPrefixMapping>
        <prefix>b</prefix>
    </endPrefixMapping>
    <endDocument/>
</ConformanceResults>