Test case valid-sa-055: org.dom4j.io.aelfred.SAXDriver Failed

Test case valid-sa-055: org.dom4j.io.aelfred.SAXDriver Failed

Test demonstrates that extra whitespace within a processing instruction willnormalized into s single space character.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
]>
<?pi  data?>
<doc></doc>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <processingInstruction>
        <target>pi</target>
        <data>data</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/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/sa/055.xml</systemID>
    </resolveEntity>
    <processingInstruction>
        <target>pi</target>
        <data>data</data>
    </processingInstruction>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>