Test case ibm-valid-P62-ibm62v05.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Test case ibm-valid-P62-ibm62v05.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Tests includeSect for P62. The extSubsetDecl is not included.

<?xml  version="1.0"?>
<!-- syntax test for Production 62-->
<!DOCTYPE animal SYSTEM "ibm62v05.dtd"
[
<!ELEMENT animal ANY>
<!ELEMENT tiger EMPTY>
]>

<animal>
 <tiger/>
Positive test. Missing external subset declaration.
</animal>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P62/ibm62v05.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>
    <char>P</char>
    <char>o</char>
    <char>s</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>.</char>
    <char>\s</char>
    <char>M</char>
    <char>i</char>
    <char>s</char>
    <char>s</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>e</char>
    <char>x</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>s</char>
    <char>u</char>
    <char>b</char>
    <char>s</char>
    <char>e</char>
    <char>t</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>.</char>
    <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/P62/ibm62v05.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>
    <char>P</char>
    <char>o</char>
    <char>s</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>.</char>
    <char>\s</char>
    <char>M</char>
    <char>i</char>
    <char>s</char>
    <char>s</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>e</char>
    <char>x</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>s</char>
    <char>u</char>
    <char>b</char>
    <char>s</char>
    <char>e</char>
    <char>t</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>.</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>