Test case rmt-ns10-038: org.dom4j.io.aelfred.SAXDriver Failed

Test case rmt-ns10-038: org.dom4j.io.aelfred.SAXDriver Failed

Attribute uniqueness: prefixed and unprefixed attributes with same local name

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

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

</foo>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startPrefixMapping>
        <prefix>a</prefix>
        <data>http://example.org/~wilbur</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/~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/>
        <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>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/namespaces/1.0/038.xml</systemID>
    </resolveEntity>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.IllegalStateException">can't declare any more prefixes in this context</bug>
</ConformanceResults>