Test case ibm-1-1-valid-P02-ibm02v02.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-1-1-valid-P02-ibm02v02.xml: gnu.xml.aelfred2.XmlReader Failed

This test case covers control characters x1 to x1F and x7F to x9F which should only appear as character references.

<?xml version="1.1" encoding="UTF-8" ?>
<!DOCTYPE root [
<!ELEMENT root ANY>
]>
<!-- This test case covers control characters x1 to x1F and x7F to x9F 
	 which should only appear as character references. -->
<root>
&#x01;&#x02;&#x03;&#x04;&#x05;&#x06;&#x07;&#x08;&#x09;&#x0A;&#x0B;&#x0C;&#x0D;&#x0E;&#x0F;
&#x10;&#x11;&#x12;&#x13;&#x14;&#x15;&#x16;&#x17;&#x18;&#x19;
&#x1A;&#x1B;&#x1C;&#x1D;&#x1E;&#x1F;
&#x70;&#x77;&#x72;&#x73;&#x74;&#x75;&#x76;&#x77;&#x78;&#x79;
&#x7F;
&#x80;&#x88;&#x82;&#x83;&#x84;&#x85;&#x86;&#x87;&#x88;&#x89;
&#x8A;&#x8B;&#x8C;&#x8D;&#x8E;&#x8F;
&#x90;&#x99;&#x92;&#x93;&#x94;&#x95;&#x96;&#x97;&#x98;&#x99;
&#x9A;&#x9B;&#x9C;&#x9D;&#x9E;&#x9F;
</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>
    <char>\n</char>
    <char>\u1</char>
    <char>\u2</char>
    <char>\u3</char>
    <char>\u4</char>
    <char>\u5</char>
    <char>\u6</char>
    <char>\u7</char>
    <char>\u8</char>
    <char>\t</char>
    <char>\n</char>
    <char>\uB</char>
    <char>\uC</char>
    <char>\r</char>
    <char>\uE</char>
    <char>\uF</char>
    <char>\n</char>
    <char>\u10</char>
    <char>\u11</char>
    <char>\u12</char>
    <char>\u13</char>
    <char>\u14</char>
    <char>\u15</char>
    <char>\u16</char>
    <char>\u17</char>
    <char>\u18</char>
    <char>\u19</char>
    <char>\n</char>
    <char>\u1A</char>
    <char>\u1B</char>
    <char>\u1C</char>
    <char>\u1D</char>
    <char>\u1E</char>
    <char>\u1F</char>
    <char>\n</char>
    <char>p</char>
    <char>w</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>u</char>
    <char>v</char>
    <char>w</char>
    <char>x</char>
    <char>y</char>
    <char>\n</char>
    <char>\u7F</char>
    <char>\n</char>
    <char>\u80</char>
    <char>\u88</char>
    <char>\u82</char>
    <char>\u83</char>
    <char>\u84</char>
    <char>\u85</char>
    <char>\u86</char>
    <char>\u87</char>
    <char>\u88</char>
    <char>\u89</char>
    <char>\n</char>
    <char>\u8A</char>
    <char>\u8B</char>
    <char>\u8C</char>
    <char>\u8D</char>
    <char>\u8E</char>
    <char>\u8F</char>
    <char>\n</char>
    <char>\u90</char>
    <char>\u99</char>
    <char>\u92</char>
    <char>\u93</char>
    <char>\u94</char>
    <char>\u95</char>
    <char>\u96</char>
    <char>\u97</char>
    <char>\u98</char>
    <char>\u99</char>
    <char>\n</char>
    <char>\u9A</char>
    <char>\u9B</char>
    <char>\u9C</char>
    <char>\u9D</char>
    <char>\u9E</char>
    <char>\u9F</char>
    <char>\n</char>
    <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>