Test case rmt-050: net.sf.saxon.aelfred.SAXDriver Failed

Test case rmt-050: net.sf.saxon.aelfred.SAXDriver Failed

Has element content whitespace containing a CR character that comes from a character reference in an internal entity. Because CR is in the S production, this is valid in both XML 1.0 and 1.1.

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Has element content whitespace containing a CR character that comes from
     a character reference in an internal entity.  Because CR is in the
     S production, this is valid in both XML 1.0 and 1.1. -->
<!DOCTYPE foo [
<!ELEMENT foo (foo*)>
<!ENTITY e "&#x0d;">
]>
<foo>&e;</foo>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\r</ignorable>
    <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/xml-1.1/050.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\r</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>