Test case o-p16pass1: gnu.xml.aelfred2.XmlReader Failed

Test case o-p16pass1: gnu.xml.aelfred2.XmlReader Failed

Valid form of Processing Instruction. Shows that whitespace character data is valid before end of processing instruction.

<?pitarget?>
<?xmla <!DOCTYPE <[ CDATA [</doc> &a%b&#c?>
<?pitarget ...?>
<?pitarget 
	?>
<?pitarget > ?>
<doc/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <processingInstruction>
        <target>pitarget</target>
        <data/>
    </processingInstruction>
    <processingInstruction>
        <target>xmla</target>
        <data>&lt;!DOCTYPE\s&lt;[\sCDATA\s[&lt;/doc&gt;\s&amp;a%b&amp;#c</data>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data>...</data>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data/>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data>&gt;\s</data>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <processingInstruction>
        <target>pitarget</target>
        <data/>
    </processingInstruction>
    <processingInstruction>
        <target>xmla</target>
        <data>&lt;!DOCTYPE\s&lt;[\sCDATA\s[&lt;/doc&gt;\s&amp;a%b&amp;#c</data>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data>...</data>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data/>
    </processingInstruction>
    <processingInstruction>
        <target>pitarget</target>
        <data>&gt;\s</data>
    </processingInstruction>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 &gt;= 0</bug>
</ConformanceResults>