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 com.jclark.xml.sax.SAX2Driver |
---|---|
<?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/> <startElement> <namespaceURI/> <localName>เจมส์</localName> <qualifiedName>เจมส์</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>เจมส์</localName> <qualifiedName>เจมส์</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |