Test case ibm-not-wf-P22-ibm22n03.xml: net.sf.saxon.aelfred.SAXDriver Failed

Test case ibm-not-wf-P22-ibm22n03.xml: net.sf.saxon.aelfred.SAXDriver Failed

Tests prolog with wrong field ordering. The XMLDecl occurs after the DTD and a comment. The other comment occurs before the DTD.

<!-- Wrong ordering patter 4 -->
<!DOCTYPE doc [
<!ELEMENT doc EMPTY>
]>
<!-- Wrong ordering Misc, DTD, Misc, and XMLDecl -->
<?xml version="1.0" encoding="ASCII" ?>
<doc/>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P22/ibm22n03.xml</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>