Test case o-p16pass1: com.jclark.xml.sax.SAX2Driver Passed

Test case o-p16pass1: com.jclark.xml.sax.SAX2Driver Passed

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 com.jclark.xml.sax.SAX2Driver
<?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>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>