Test case o-p01fail2: gnu.xml.aelfred2.XmlReader Passed

Test case o-p01fail2: gnu.xml.aelfred2.XmlReader Passed

comments cannot occur before the prolog

<!--bad comment--><?xml version="1.0"?>
<doc>
<a><b><c/></b></a>
</doc>
<!-- comment after document element-->
<?PI after document element?>
<!-- comment after document element-->
<?PI after document element?>
<!-- comment after document element-->
<?PI after document element?>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
    <endDocument/>
</ConformanceResults>