Test case ibm-not-wf-P68-ibm68n08.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-not-wf-P68-ibm68n08.xml: gnu.xml.aelfred2.XmlReader Failed

Tests EntityRef which is against P68 WFC: Parsed Entity. The EntityRef in the AttValue in the STag of the element "root" contains the name "aImage" of an unparsed entity.

<!DOCTYPE root 
[
<!ELEMENT root (#PCDATA)>
<!ATTLIST root att CDATA #IMPLIED>
<!ENTITY aaa "aString">
<!NOTATION JPGformat SYSTEM "JPGFormat">
<!ENTITY aImage SYSTEM "image.jpg" NDATA JPGformat>
]>
<root>unparsed entity reference in the wrong place &aImage;</root>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>JPGformat</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P68/JPGFormat</systemID>
    </notation>
    <unparsedEntity>
        <name>aImage</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P68/image.jpg</systemID>
        <notation>JPGformat</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>u</char>
    <char>n</char>
    <char>p</char>
    <char>a</char>
    <char>r</char>
    <char>s</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>i</char>
    <char>t</char>
    <char>y</char>
    <char>\s</char>
    <char>r</char>
    <char>e</char>
    <char>f</char>
    <char>e</char>
    <char>r</char>
    <char>e</char>
    <char>n</char>
    <char>c</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>w</char>
    <char>r</char>
    <char>o</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>p</char>
    <char>l</char>
    <char>a</char>
    <char>c</char>
    <char>e</char>
    <char>\s</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>