Test case ibm-not-wf-P69-ibm69n05.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-not-wf-P69-ibm69n05.xml: gnu.xml.aelfred2.XmlReader Failed

Based on E29 substantial source: minutes XML-Syntax 1999-02-24 E38 in XML 1.0 Errata, this WFC does not apply to P69, but the VC Entity declared still apply. Tests PEReference which is against P69 WFC: Entity Declared. The PE with the name "paaa" is referred before declared in the DTD.

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE root 
[
<!ELEMENT root (#PCDATA)>
<!--* PE referenced before declared, against WFC: entity declared -->
%paaa;
<!ENTITY % paaa "<!ATTLIST root att CDATA #IMPLIED>">
<!ENTITY aaa "aString">
]>
<root/>
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>
    <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">0 &gt;= 0</bug>
</ConformanceResults>