Test case ibm-valid-P14-ibm14v01.xml: gnu.xml.aelfred2.XmlReader Failed

Test case ibm-valid-P14-ibm14v01.xml: gnu.xml.aelfred2.XmlReader Failed

Testing CharData with empty string

<?xml version="1.0"?>
<!DOCTYPE student [
	<!ELEMENT student (#PCDATA)>
	<!ATTLIST student first CDATA #REQUIRED
			  last  CDATA #IMPLIED>
]>

<!-- testing chardata with empty string -->
<student first="Snow"></student>


Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>first</localName>
                <qualifiedName>first</qualifiedName>
                <value>Snow</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</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">1 &gt;= 1</bug>
</ConformanceResults>