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

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

Test demonstrates the use of optional character and content particles within mixed element content. The test also shows the use of an external entity and that a carriage control line feed in an external entity must be normalized to a single newline.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA|e)*>
<!ELEMENT e EMPTY>
<!ENTITY e SYSTEM "006.ent">
]>
<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>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/ext-sa/006.ent</systemID>
    </resolveEntity>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>M</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <char>\n</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/ext-sa/006.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/ext-sa/006.ent</systemID>
    </resolveEntity>
    <char>D</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>M</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>