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

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

Test demonstrates the use of a public identifier with and external entity. The test also show that a carriage control line feed combination in an external entity must be normalized to a single newline.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
<!ENTITY e PUBLIC "a not very interesting file" "011.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>
        <publicID>a\snot\svery\sinteresting\sfile</publicID>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/ext-sa/011.ent</systemID>
    </resolveEntity>
    <char>x</char>
    <char>y</char>
    <char>z</char>
    <char>z</char>
    <char>y</char>
    <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/011.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <publicID>a\snot\svery\sinteresting\sfile</publicID>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/ext-sa/011.ent</systemID>
    </resolveEntity>
    <char>x</char>
    <char>y</char>
    <char>z</char>
    <char>z</char>
    <char>y</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>