Tests an element with an illegal Name containing #0xB7
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ELEMENT ·BadName EMPTY> ]> <!-- BadName containing char 0xB7; --> <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/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <ignorable>\n</ignorable> <ignorable>\t</ignorable> <startElement> <namespaceURI/> <localName>·BadName</localName> <qualifiedName>·BadName</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>·BadName</localName> <qualifiedName>·BadName</qualifiedName> </endElement> <ignorable>\t</ignorable> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |