Test case ibm-not-wf-P01-ibm01n03.xml: net.sf.saxon.aelfred.SAXDriver Failed

Test case ibm-not-wf-P01-ibm01n03.xml: net.sf.saxon.aelfred.SAXDriver Failed

Tests a document with wrong combination of misc and element. One PI occurs between two elements.

<?xml version="1.0"?>
<!DOCTYPE doc [
   <!ELEMENT doc ANY>
   <!ELEMENT title ANY>
]>
<doc>Wrong combination!</doc>
<?PI after document element?>
<title>Wrong combination!</title>
<?PI after title element?>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>W</char>
    <char>r</char>
    <char>o</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>b</char>
    <char>i</char>
    <char>n</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>!</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P01/ibm01n03.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>W</char>
    <char>r</char>
    <char>o</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>m</char>
    <char>b</char>
    <char>i</char>
    <char>n</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>!</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <processingInstruction>
        <target>PI</target>
        <data>after\sdocument\selement</data>
    </processingInstruction>
    <fatalError/>
    <endDocument/>
</ConformanceResults>