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 org.dom4j.io.aelfred.SAXDriver |
---|---|
<?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/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/sa/051.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>เจมส์</localName> <qualifiedName>เจมส์</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>เจมส์</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |