Test case rmt-e2e-15c: org.apache.crimson.parser.XMLReaderImpl Passed

Test case rmt-e2e-15c: org.apache.crimson.parser.XMLReaderImpl Passed

Empty content can't contain a PI

<!DOCTYPE foo [
<!ELEMENT foo EMPTY>
]>
<foo><?pi xxx?></foo>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <processingInstruction>
        <target>pi</target>
        <data>xxx</data>
    </processingInstruction>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <processingInstruction>
        <target>pi</target>
        <data>xxx</data>
    </processingInstruction>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>