Tests an element with an illegal Name containing #x2040
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ELEMENT ⁀BadName EMPTY> ]> <!-- BadName containing char #x2040; --> <root> <⁀BadName/> </root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |