Test case ibm-valid-P28-ibm28v01.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P28-ibm28v01.xml: gnu.xml.aelfred2.XmlReader Failed

Tests doctypedecl with internal DTD only

<?xml version="1.0" encoding='UTF-8'?>
<!DOCTYPE animal [
   <!ELEMENT animal EMPTY>
]>
<!-- This a valid test file for production [28] --> 
<animal/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <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/>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 &gt;= 0</bug>
</ConformanceResults>