Test case inv-required02: gnu.xml.aelfred2.XmlReader Failed

Test case inv-required02: gnu.xml.aelfred2.XmlReader Failed

Tests the Attribute Value Type (declared) VC for the xml:lang attribute

<!DOCTYPE root [
    <!ELEMENT root EMPTY>
]>

<root xml:lang='en'/>

    <!-- all attributes must be declared -->

Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>lang</localName>
                <qualifiedName>xml:lang</qualifiedName>
                <value>en</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">1 &gt;= 1</bug>
</ConformanceResults>