Test case ibm-valid-P59-ibm59v01.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P59-ibm59v01.xml: gnu.xml.aelfred2.XmlReader Failed

Tests Enumeration in the EnumeratedType for P59. It shows different patterns for the Enumeration attribute "attr".

<?xml  version="1.0"?>
<!-- syntax test for Production 59-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT one EMPTY>
 <!ELEMENT two EMPTY>
 <!ELEMENT enum (#PCDATA)>
 <!ATTLIST one attr (one) #IMPLIED>
 <!ATTLIST two attr ( enum) #IMPLIED>
 <!ATTLIST two attr (one|two) #IMPLIED>
 <!ATTLIST two attr (one| two) #IMPLIED>
 <!ATTLIST two attr (enum ) #IMPLIED>
 <!ATTLIST two attr ( one | two | enum) #IMPLIED>
 ]>
 <test>
This is a Positive test
</test>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>P</char>
    <char>o</char>
    <char>s</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</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>