Tests seq with a required field missing. The two cps are missing in the seq field in the fourth elementdecl in the DTD.
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ELEMENT a ANY> <!ELEMENT b ANY> <!--* missing cp in seq *--> <!ELEMENT aElement (,) > ]> <root>Any content</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> <char>A</char> <char>n</char> <char>y</char> <char>\s</char> <char>c</char> <char>o</char> <char>n</char> <char>t</char> <char>e</char> <char>n</char> <char>t</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> <fatalError/> </ConformanceResults> |