Test case not-wf-not-sa-009: org.dom4j.io.aelfred.SAXDriver Failed

Test case not-wf-not-sa-009: org.dom4j.io.aelfred.SAXDriver Failed

This test violates WFC:PE Between Declarations in Production 28a. The last character of a markup declaration is not contained in the same parameter-entity text replacement.

<!DOCTYPE doc SYSTEM "009.ent">
<doc></doc>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/009.ent</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/009.xml</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/009.ent</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>