Test case attr02: gnu.xml.aelfred2.XmlReader Failed

Test case attr02: gnu.xml.aelfred2.XmlReader Failed

Tests the "Entity Name" VC for the ENTITIES attribute type.

<!DOCTYPE root [
<!ELEMENT root EMPTY>
<!ATTLIST root
    affiliated	ENTITIES	#REQUIRED
    >
    <!-- tests the "entity name" VC ... the "entity declared" clause,
	as applied to attributes of type ENTITIES -->
<!NOTATION fruit
    PUBLIC "-//International Grocery Consortium//Edible//Healthy//EN">
<!ENTITY apple SYSTEM "http://www.apple.com" NDATA fruit>
]>
<root affiliated="apple apple food"/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>fruit</name>
        <publicID>-//International Grocery Consortium//Edible//Healthy//EN</publicID>
    </notation>
    <unparsedEntity>
        <name>apple</name>
        <systemID>http://www.apple.com</systemID>
        <notation>fruit</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>affiliated</localName>
                <qualifiedName>affiliated</qualifiedName>
                <value>apple\sapple\sfood</value>
                <type>ENTITIES</type>
            </attribute>
        </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">1 &gt;= 1</bug>
</ConformanceResults>