Tests the Element Valid VC (clause 4) by including an undeclared child element.
<!DOCTYPE root [ <!ELEMENT root ANY> ]> <root> <undeclared/> </root>
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>\s</char> <startElement> <namespaceURI/> <localName>undeclared</localName> <qualifiedName>undeclared</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>undeclared</localName> <qualifiedName>undeclared</qualifiedName> </endElement> <char>\s</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <ignorable>\s</ignorable> <startElement> <namespaceURI/> <localName>undeclared</localName> <qualifiedName>undeclared</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>undeclared</localName> <qualifiedName>undeclared</qualifiedName> </endElement> <ignorable>\s</ignorable> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |