Test case rmt-e2e-18: gnu.xml.aelfred2.XmlReader Failed

Test case rmt-e2e-18: gnu.xml.aelfred2.XmlReader Failed

External entity containing start of entity declaration is base URI for system identifier

<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ENTITY % pe SYSTEM "subdir1/E18-pe">
%pe;
%intpe;
]>
<foo>&ent;</foo>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/subdir1/E18-pe</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/subdir2/E18-extpe</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/E18-ent</systemID>
    </resolveEntity>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>i</char>
    <char>t</char>
    <char>y</char>
    <char>\s</char>
    <char>f</char>
    <char>r</char>
    <char>o</char>
    <char>m</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>d</char>
    <char>i</char>
    <char>r</char>
    <char>,</char>
    <char>\s</char>
    <char>r</char>
    <char>i</char>
    <char>g</char>
    <char>h</char>
    <char>t</char>
    <char>!</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/subdir1/E18-pe</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>