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

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

Tests the "Notation Attributes" VC for the NOTATION attribute type, second clause: the names in the declaration must all be declared.

<!DOCTYPE root [
<!ELEMENT root EMPTY>
<!ATTLIST root
    type	NOTATION	(fruit | vegetable)	#REQUIRED
    >
<!NOTATION fruit
    PUBLIC "-//International Grocery Consortium//Edible//Healthy//EN">

    <!-- tests the 'all notation names in the declaration must
	be declared' part of the "Notation Attributes" VC -->
]>
<root type="fruit"/>
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>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>type</localName>
                <qualifiedName>type</qualifiedName>
                <value>fruit</value>
                <type>NOTATION</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>