Test case ibm-valid-P58-ibm58v01.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P58-ibm58v01.xml: gnu.xml.aelfred2.XmlReader Failed

Tests NotationType for P58. It shows different patterns fro the NOTATION attribute "attr".

<?xml  version="1.0"?>
<!-- valid test for Production 58-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT one ANY>
 <!ELEMENT two ANY>
 <!ELEMENT three ANY>
 <!ELEMENT four ANY>
 <!ELEMENT five ANY>
 <!NOTATION this SYSTEM "alpha">
 <!NOTATION that SYSTEM "beta">
 <!ATTLIST one attr NOTATION (this) #IMPLIED>
 <!ATTLIST two attr NOTATION ( this) #IMPLIED>
 <!ATTLIST three attr NOTATION (this|that) #IMPLIED>
 <!ATTLIST four attr NOTATION (that |this) #IMPLIED>
 <!ATTLIST five attr NOTATION ( that ) #IMPLIED>
 ]>
 <test>
This is a positive test with different patterns for NOTATION
</test>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>that</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/beta</systemID>
    </notation>
    <notation>
        <name>this</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/alpha</systemID>
    </notation>
    <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>\s</char>
    <char>w</char>
    <char>i</char>
    <char>t</char>
    <char>h</char>
    <char>\s</char>
    <char>d</char>
    <char>i</char>
    <char>f</char>
    <char>f</char>
    <char>e</char>
    <char>r</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\s</char>
    <char>p</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>s</char>
    <char>\s</char>
    <char>f</char>
    <char>o</char>
    <char>r</char>
    <char>\s</char>
    <char>N</char>
    <char>O</char>
    <char>T</char>
    <char>A</char>
    <char>T</char>
    <char>I</char>
    <char>O</char>
    <char>N</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>