Test case ibm-valid-P61-ibm61v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P61-ibm61v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Tests conditionalSect for P61. It takes the option "invludeSect" in the file ibm61v01.dtd.

<?xml  version="1.0"?>
<!-- syntax test for Production 61-->
<!DOCTYPE animal SYSTEM "ibm61v01.dtd">
<animal>
 <tiger/>
</animal>
 
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P61/ibm61v01.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>tiger</localName>
        <qualifiedName>tiger</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>tiger</localName>
        <qualifiedName>tiger</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P61/ibm61v01.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>tiger</localName>
        <qualifiedName>tiger</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>tiger</localName>
        <qualifiedName>tiger</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>