Test case not-wf-sa-092: gnu.xml.aelfred2.XmlReader Failed

Test case not-wf-sa-092: gnu.xml.aelfred2.XmlReader Failed

The replacement text of this entity has an illegal reference, because the character reference is expanded immediately.

<!DOCTYPE doc [
<!ENTITY e "<foo a='&#38;'></foo>">
]>
<doc>&e;</doc>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <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>