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 result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>xmla</target> <data><!DOCTYPE\s<[\sCDATA\s[</doc>\s&a%b&#c</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>...</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>>\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/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/p16pass1.xml</systemID> </resolveEntity> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>xmla</target> <data><!DOCTYPE\s<[\sCDATA\s[</doc>\s&a%b&#c</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>...</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>>\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |