Test case ibm-invalid-P28-ibm28i01.xml: com.bluecast.xml.Piccolo Passed

Test case ibm-invalid-P28-ibm28i01.xml: com.bluecast.xml.Piccolo 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 com.bluecast.xml.Piccolo
<?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>