Test case ibm-valid-P78-ibm78v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P78-ibm78v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Tests ExtParsedEnt, also TextDecl in P77 and EncodingDecl in P80

<?xml version="1.0"?>
<!DOCTYPE root 
[
<!ELEMENT root (#PCDATA)>
<!ATTLIST root att CDATA #IMPLIED>

<!--* Test all legal patterns derived from P78 *-->
<!ENTITY epe1 SYSTEM "ibm78v01.ent" >
<!ENTITY epe2 SYSTEM "ibm78v02.ent" >
<!ENTITY epe3 SYSTEM "ibm78v03.ent" >

]>
<root>&epe1;&epe2;&epe3;</root>
<!-- a valid test case: test P78, P77, P80 -->
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v01.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>N</char>
    <char>.</char>
    <char>B</char>
    <char>.</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>s</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>7</char>
    <char>7</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>8</char>
    <char>0</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v02.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>N</char>
    <char>.</char>
    <char>B</char>
    <char>.</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>s</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>7</char>
    <char>7</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v03.ent</systemID>
    </resolveEntity>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>e</char>
    <char>.</char>
    <char>g</char>
    <char>.</char>
    <char>\s</char>
    <char>1</char>
    <char>2</char>
    <char>3</char>
    <char>4</char>
    <char>5</char>
    <char>6</char>
    <char>7</char>
    <char>8</char>
    <char>E</char>
    <char>-</char>
    <char>3</char>
    <char>3</char>
    <char>,</char>
    <char>\s</char>
    <char>"</char>
    <char>h</char>
    <char>e</char>
    <char>l</char>
    <char>l</char>
    <char>o</char>
    <char>"</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v01.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>N</char>
    <char>.</char>
    <char>B</char>
    <char>.</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>s</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>7</char>
    <char>7</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>8</char>
    <char>0</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v02.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>N</char>
    <char>.</char>
    <char>B</char>
    <char>.</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>s</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>P</char>
    <char>7</char>
    <char>7</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P78/ibm78v03.ent</systemID>
    </resolveEntity>
    <char>a</char>
    <char>n</char>
    <char>y</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>l</char>
    <char>e</char>
    <char>g</char>
    <char>a</char>
    <char>l</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>P</char>
    <char>C</char>
    <char>D</char>
    <char>A</char>
    <char>T</char>
    <char>A</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>.</char>
    <char>\n</char>
    <char>e</char>
    <char>.</char>
    <char>g</char>
    <char>.</char>
    <char>\s</char>
    <char>1</char>
    <char>2</char>
    <char>3</char>
    <char>4</char>
    <char>5</char>
    <char>6</char>
    <char>7</char>
    <char>8</char>
    <char>E</char>
    <char>-</char>
    <char>3</char>
    <char>3</char>
    <char>,</char>
    <char>\s</char>
    <char>"</char>
    <char>h</char>
    <char>e</char>
    <char>l</char>
    <char>l</char>
    <char>o</char>
    <char>"</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>