Test case el01: gnu.xml.aelfred2.XmlReader Failed

Test case el01: gnu.xml.aelfred2.XmlReader Failed

Tests the Element Valid VC (clause 4) by including an undeclared child element.

<!DOCTYPE root [
<!ELEMENT root ANY>
]>
<root> <undeclared/> </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>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>undeclared</localName>
        <qualifiedName>undeclared</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>undeclared</localName>
        <qualifiedName>undeclared</qualifiedName>
    </endElement>
    <char>\s</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>