Test case ibm-invalid-P28-ibm28i01.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Test case ibm-invalid-P28-ibm28i01.xml: org.apache.crimson.parser.XMLReaderImpl Passed

The test violates VC:Root Element Type in P28. The Name in the document type declaration does not match the element type of the root element.

<?xml version="1.0" encoding='UTF-8'?>
<!DOCTYPE tiger [
   <!ELEMENT tiger EMPTY>
]>
<!-- This against VC of P28. The Name in the document type declaration
 does not match the element type of the root element. --> 
<animal/>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>