Test case ibm-not-wf-P43-ibm43n04.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-not-wf-P43-ibm43n04.xml: gnu.xml.aelfred2.XmlReader Failed

Tests element content with a wrong option. An elementdecl is used as the content of the element "root".

<!DOCTYPE root 
[
<!ELEMENT root (#PCDATA)>
<!ATTLIST root att CDATA #IMPLIED>
<!ENTITY % paaa "a string">
]>
<root>
<!ENTITY GE1 "This is an entity declaration">
</root>
<!--* EntityDecl in content -->
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/>
    </startElement>
    <char>\n</char>
    <fatalError/>
    <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>