Test case ibm-valid-P61-ibm61v02.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P61-ibm61v02.xml: gnu.xml.aelfred2.XmlReader Failed

Tests conditionalSect for P61. It takes the option "ignoreSect" in the file ibm61v02.dtd.

<?xml  version="1.0"?>
<!-- syntax test for Production 61-->
<!DOCTYPE animal SYSTEM "ibm61v02.dtd"
[
<!ELEMENT animal EMPTY>
]>
<animal/>

 
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/valid/P61/ibm61v02.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <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/valid/P61/ibm61v02.dtd</systemID>
    </resolveEntity>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 &gt;= 0</bug>
</ConformanceResults>