Tests element content with a wrong option. A NotationDecl is used as the content of the element "root".
<!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ATTLIST root att CDATA #IMPLIED> <!ENTITY % paaa "a string"> ]> <root> <!NOTATION nota1 SYSTEM "bogus.not"> </root> <!--* NotationDecl in content -->
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <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> <fatalError/> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |