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 oracle.xml.parser.v2.SAXParser |
---|---|
<?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/> <fatalError/> <fatalError/> </ConformanceResults> |