Test case rmt-e2e-19: com.jclark.xml.sax.SAX2Driver Passed

Test case rmt-e2e-19: com.jclark.xml.sax.SAX2Driver Passed

Parameter entities and character references are included-in-literal, but general entities are bypassed.

<!DOCTYPE foo SYSTEM "E19.dtd">
<foo>&ent;</foo>
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/eduni/errata-2e/E19.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>h</char>
    <char>e</char>
    <char>l</char>
    <char>l</char>
    <char>o</char>
    <char>\s</char>
    <char>!</char>
    <char>\s</char>
    <char>g</char>
    <char>o</char>
    <char>o</char>
    <char>d</char>
    <char>b</char>
    <char>y</char>
    <char>e</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/E19.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>h</char>
    <char>e</char>
    <char>l</char>
    <char>l</char>
    <char>o</char>
    <char>\s</char>
    <char>!</char>
    <char>\s</char>
    <char>g</char>
    <char>o</char>
    <char>o</char>
    <char>d</char>
    <char>b</char>
    <char>y</char>
    <char>e</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>