Tests BaseChar with an illegal character. The character #x040D occurs as the first character of the PITarget in the PI in the DTD.
<!DOCTYPE animal [ <!ELEMENT animal ANY> <?Ѝ an illegal char #x40d in PITarget ?> ]> <animal/>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Ѝ</target> <data>an\sillegal\schar\s#x40d\n\sin\sPITarget\s</data> </processingInstruction> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 >= 0</bug> </ConformanceResults> |