Test case o-p01pass2: com.jclark.xml.sax.SAX2Driver Passed

Test case o-p01pass2: com.jclark.xml.sax.SAX2Driver Passed

various Misc items where they can occur

<?PI before document element?>
<!-- comment after document element-->
<?PI before document element?>
<!-- comment after document element-->
<?PI before document element?>
<!-- comment after document element-->
<?PI before document element?>
<!DOCTYPE doc
[
<!ELEMENT doc ANY>
<!ELEMENT a ANY>
<!ELEMENT b ANY>
<!ELEMENT c ANY>
]>
<doc>
<a><b><c/></b></a>
</doc>
<!-- comment after document element-->
<?PI after document element?>
<!-- comment after document element-->
<?PI after document element?>
<!-- comment after document element-->
<?PI after document element?>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>before\sdocument\selement</data>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>c</localName>
        <qualifiedName>c</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <endDocument/>
</ConformanceResults>