Test case o-p43pass1: net.sf.saxon.aelfred.SAXDriver Failed

Test case o-p43pass1: net.sf.saxon.aelfred.SAXDriver Failed

Valid use of character data, comments, processing instructions and CDATA sections within the start and end tag.

<!DOCTYPE elem
[
<!ELEMENT elem (#PCDATA|elem)*>
<!ENTITY ent "<elem>CharData</elem>">
]>
<elem>
CharData&#32;
<!--comment-->
<![CDATA[
<elem>
CharData&#32;
<!--comment-->
<?pi?>&ent;&quot;
CharData
</elem>
]]>
<![CDATA[
<elem>
CharData&#32;
<!--comment-->
<?pi?>&ent;&quot;
CharData
</elem>
]]>
<?pi?>&ent;&quot;
CharData
</elem>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\s</char>
    <char>\n</char>
    <char>\n</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>&amp;</char>
    <char>#</char>
    <char>3</char>
    <char>2</char>
    <char>;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>!</char>
    <char>-</char>
    <char>-</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>-</char>
    <char>-</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>?</char>
    <char>p</char>
    <char>i</char>
    <char>?</char>
    <char>&gt;</char>
    <char>&amp;</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>;</char>
    <char>&amp;</char>
    <char>q</char>
    <char>u</char>
    <char>o</char>
    <char>t</char>
    <char>;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>/</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>\n</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>&amp;</char>
    <char>#</char>
    <char>3</char>
    <char>2</char>
    <char>;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>!</char>
    <char>-</char>
    <char>-</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>-</char>
    <char>-</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>?</char>
    <char>p</char>
    <char>i</char>
    <char>?</char>
    <char>&gt;</char>
    <char>&amp;</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>;</char>
    <char>&amp;</char>
    <char>q</char>
    <char>u</char>
    <char>o</char>
    <char>t</char>
    <char>;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>/</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>\n</char>
    <processingInstruction>
        <target>pi</target>
        <data/>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
        <attributes/>
    </startElement>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <endElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
    </endElement>
    <char>"</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/p43pass1.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\s</char>
    <char>\n</char>
    <char>\n</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>&amp;</char>
    <char>#</char>
    <char>3</char>
    <char>2</char>
    <char>;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>!</char>
    <char>-</char>
    <char>-</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>-</char>
    <char>-</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>?</char>
    <char>p</char>
    <char>i</char>
    <char>?</char>
    <char>&gt;</char>
    <char>&amp;</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>;</char>
    <char>&amp;</char>
    <char>q</char>
    <char>u</char>
    <char>o</char>
    <char>t</char>
    <char>;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>/</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>\n</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>&amp;</char>
    <char>#</char>
    <char>3</char>
    <char>2</char>
    <char>;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>!</char>
    <char>-</char>
    <char>-</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>-</char>
    <char>-</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>?</char>
    <char>p</char>
    <char>i</char>
    <char>?</char>
    <char>&gt;</char>
    <char>&amp;</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>;</char>
    <char>&amp;</char>
    <char>q</char>
    <char>u</char>
    <char>o</char>
    <char>t</char>
    <char>;</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <char>&lt;</char>
    <char>/</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>&gt;</char>
    <char>\n</char>
    <char>\n</char>
    <processingInstruction>
        <target>pi</target>
        <data/>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
        <attributes/>
    </startElement>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <endElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
    </endElement>
    <char>"</char>
    <char>\n</char>
    <char>C</char>
    <char>h</char>
    <char>a</char>
    <char>r</char>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>elem</localName>
        <qualifiedName>elem</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>