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 com.jclark.xml.sax.SAX2Driver |
---|---|
<?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/> <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> |