Test case rmt-e2e-22: org.dom4j.io.aelfred.SAXDriver Failed

Test case rmt-e2e-22: org.dom4j.io.aelfred.SAXDriver Failed

UTF-8 entities may start with a BOM

<?xml version="1.0"?>
<!DOCTYPE foo [
<!ELEMENT foo ANY>
]>
<foo/>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <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/E22.xml</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>