Test case rmt-e2e-55: gnu.xml.aelfred2.XmlReader Failed

Test case rmt-e2e-55: gnu.xml.aelfred2.XmlReader Failed

A reference to an unparsed entity in an entity value is an error rather than forbidden (unless the entity is referenced, of course)

<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ENTITY e "an &unparsed; entity">
<!NOTATION gif SYSTEM "file:///usr/X11R6/bin/xv">
<!ENTITY unparsed SYSTEM "xyzzy" NDATA gif>
]>
<foo/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>gif</name>
        <systemID>file:///usr/X11R6/bin/xv</systemID>
    </notation>
    <unparsedEntity>
        <name>unparsed</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/xyzzy</systemID>
        <notation>gif</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</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>