Test case ext01: net.sf.saxon.aelfred.SAXDriver Failed

Test case ext01: net.sf.saxon.aelfred.SAXDriver Failed

Tests use of external parsed entities with and without content.

<!DOCTYPE root [
<!ELEMENT root ANY>
<!ELEMENT foo ANY>
<!ELEMENT bar ANY>
<!ELEMENT is ANY>
<!ENTITY root SYSTEM "ext01.ent">
<!ENTITY null SYSTEM "null.ent">
]>
<root> &root; &root; &null; &null; </root>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/ext01.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>"</char>
    <char>d</char>
    <char>u</char>
    <char>m</char>
    <char>b</char>
    <char>e</char>
    <char>r</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>b</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <char>f</char>
    <char>u</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>s</char>
    <char>"</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\s</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/ext01.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>"</char>
    <char>d</char>
    <char>u</char>
    <char>m</char>
    <char>b</char>
    <char>e</char>
    <char>r</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>b</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <char>f</char>
    <char>u</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>s</char>
    <char>"</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\s</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/null.ent</systemID>
    </resolveEntity>
    <char>\s</char>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/null.ent</systemID>
    </resolveEntity>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/ext01.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/ext01.ent</systemID>
    </resolveEntity>
    <char>\s</char>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>"</char>
    <char>d</char>
    <char>u</char>
    <char>m</char>
    <char>b</char>
    <char>e</char>
    <char>r</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>b</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <char>f</char>
    <char>u</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>s</char>
    <char>"</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
    </endElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/ext01.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>\s</char>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>bar</localName>
        <qualifiedName>bar</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>"</char>
    <char>d</char>
    <char>u</char>
    <char>m</char>
    <char>b</char>
    <char>e</char>
    <char>r</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>b</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <char>f</char>
    <char>u</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>m</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>s</char>
    <char>"</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>is</localName>
        <qualifiedName>is</qualifiedName>
    </endElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/null.ent</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/null.ent</systemID>
    </resolveEntity>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>