Test case valid-sa-114: net.sf.saxon.aelfred.SAXDriver Failed

Test case valid-sa-114: net.sf.saxon.aelfred.SAXDriver Failed

Test demonstrates that all text within a valid CDATA section is considered text and not recognized as markup.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
<!ENTITY e "<![CDATA[&foo;]]>">
]>
<doc>&e;</doc>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>&amp;</char>
    <char>f</char>
    <char>o</char>
    <char>o</char>
    <char>;</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/sa/114.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>&amp;</char>
    <char>f</char>
    <char>o</char>
    <char>o</char>
    <char>;</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>