Tests Misc with PI
<?xml version='1.0' ?> <!DOCTYPE doc [ <!ELEMENT doc EMPTY> ]> <doc/> <?sound "This is a PI in Misc ?>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <processingInstruction> <target>sound</target> <data>"This\sis\sa\sPI\sin\sMisc\s</data> </processingInstruction> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P27/ibm27v02.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <processingInstruction> <target>sound</target> <data>"This\sis\sa\sPI\sin\sMisc\s</data> </processingInstruction> <endDocument/> </ConformanceResults> |