Test case o-p52pass1: gnu.xml.aelfred2.XmlReader Failed

Test case o-p52pass1: gnu.xml.aelfred2.XmlReader Failed

valid AttlistDecls: No AttDef's are required, and the terminating S is optional, multiple ATTLISTS per element are OK, and multiple declarations of the same attribute are OK.

<!DOCTYPE doc
[
<!ELEMENT doc (#PCDATA|a|b|c|d)*>
<!ELEMENT a EMPTY>
<!ELEMENT b EMPTY>
<!ELEMENT c EMPTY>
<!ELEMENT d EMPTY>
<!ATTLIST a>
<!ATTLIST b >
<!ATTLIST c att CDATA #IMPLIED>
<!ATTLIST d att CDATA #IMPLIED>
<!ATTLIST
c att CDATA
 #IMPLIED
att2
 CDATA
 "second declaration is OK"
att2 CDATA
 #REQUIRED
 >
<!ATTLIST d>
]>
<doc><c/><c att2="test"/></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>
    <startElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>att2</localName>
                <qualifiedName>att2</qualifiedName>
                <value>second\sdeclaration\sis\sOK</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>att2</localName>
                <qualifiedName>att2</qualifiedName>
                <value>test</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</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>