Test case ibm-valid-P56-ibm56v01.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P56-ibm56v01.xml: gnu.xml.aelfred2.XmlReader Failed

Tests TokenizedType for P56. The "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", and "NMTOKENS" occur in the TokenizedType for the attribute "attr".

<?xml  version="1.0"?>
<!-- valid test for Production 56-->
<!DOCTYPE root
 [
 <!ELEMENT root (a|b|c|d|e|f|g)*>
 <!ELEMENT a EMPTY>
 <!ELEMENT b EMPTY>
 <!ELEMENT c EMPTY>
 <!ELEMENT d EMPTY>
 <!ELEMENT e EMPTY>
 <!ELEMENT f EMPTY>
 <!ELEMENT g EMPTY>
 <!ATTLIST a attr ID #IMPLIED>
 <!ATTLIST b attr IDREF #IMPLIED>
 <!ATTLIST c attr IDREFS #IMPLIED>
 <!ATTLIST d attr ENTITY #IMPLIED>
 <!ATTLIST e attr ENTITIES #IMPLIED>
 <!ATTLIST f attr NMTOKEN #IMPLIED>
 <!ATTLIST g attr NMTOKENS #IMPLIED>
 ]>
<root/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <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">0 &gt;= 0</bug>
</ConformanceResults>