The document is encoded in UTF-16 and uses some name characters well outside of the normal ASCII range.
<!DOCTYPE เจมส์ [ <!ELEMENT เจมส์ (#PCDATA)> ]> <เจมส์></เจมส์>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>เจมส์</localName> <qualifiedName>เจมส์</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>เจมส์</localName> <qualifiedName>เจมส์</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 >= 0</bug> </ConformanceResults> |