The document is encoded in UTF-8 and the name of the root element type uses non-ASCII characters.
<!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> |