Tests Extender with an illegal character. The character #x3006 occurs as the second character in the PITarget in the PI in the DTD.
<!DOCTYPE animal [ <!ELEMENT animal ANY> <?_〆 an illegal extender #x3006 in PITarget ?> ]> <animal/> <IllegalExtender〆/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P89/ibm89n07.xml</systemID> </resolveEntity> <processingInstruction> <target>_〆</target> <data>an\sillegal\sextender\s#x3006\sin\sPITarget\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>animal</qualifiedName> </endElement> <fatalError/> <endDocument/> </ConformanceResults> |