Violates VC:Proper Group/PE Nesting in P49. Open and close parenthesis for a choice content model are in different PE replace Texts.
<?xml version="1.0"?> <!DOCTYPE root SYSTEM "ibm49i01.dtd" [ <!ELEMENT root (a,b)> ]> <root><a/><b> <c></c > content of b element </b></root> <!--* a invalid test: tests VC:Proper Group/PE Nesting in P49 *-->
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P49/ibm49i01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>b</localName> <qualifiedName>b</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <startElement> <namespaceURI/> <localName>c</localName> <qualifiedName>c</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>c</localName> <qualifiedName>c</qualifiedName> </endElement> <char>\n</char> <char>\s</char> <char>\s</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> <char>\s</char> <char>o</char> <char>f</char> <char>\s</char> <char>b</char> <char>\s</char> <char>e</char> <char>l</char> <char>e</char> <char>m</char> <char>e</char> <char>n</char> <char>t</char> <char>\n</char> <endElement> <namespaceURI/> <localName>b</localName> <qualifiedName>b</qualifiedName> </endElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P49/ibm49i01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>b</localName> <qualifiedName>b</qualifiedName> <attributes/> </startElement> <ignorable>\n</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <startElement> <namespaceURI/> <localName>c</localName> <qualifiedName>c</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>c</localName> <qualifiedName>c</qualifiedName> </endElement> <char>\n</char> <char>\s</char> <char>\s</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> <char>\s</char> <char>o</char> <char>f</char> <char>\s</char> <char>b</char> <char>\s</char> <char>e</char> <char>l</char> <char>e</char> <char>m</char> <char>e</char> <char>n</char> <char>t</char> <char>\n</char> <endElement> <namespaceURI/> <localName>b</localName> <qualifiedName>b</qualifiedName> </endElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |