Test case ibm-invalid-P32-ibm32i03.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-invalid-P32-ibm32i03.xml: gnu.xml.aelfred2.XmlReader Failed

This test violates VC: Standalone Document Declaration in P32. The standalone document declaration has the value yes, BUT there is an external markup declaration of attributes with values that will change if normalized.

<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE animal SYSTEM "ibm32i03.dtd" [
   <!ELEMENT animal EMPTY>
]>
<!-- This is against VC: Standalone Document Declaration in P32
 The standalone document declaration has the value "yes", there is an external
 markup declaration of attributes with values containing character reference.
-->
<animal class="   NMTOKEN_with_leading_and_trailing_space	 "/>




Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P32/ibm32i03.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>class</localName>
                <qualifiedName>class</qualifiedName>
                <value>NMTOKEN_with_leading_and_trailing_space</value>
                <type>NMTOKEN</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P32/ibm32i03.dtd</systemID>
    </resolveEntity>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">1 &gt;= 1</bug>
</ConformanceResults>