Tests STag with a required field missing. The white space between the Name "root" and the attribute "attr1" is missing in the STag of the element "root".
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root attr1 CDATA #IMPLIED> <!ATTLIST root attr2 CDATA #IMPLIED> ]> <rootattr1="any">missing white space in start tag</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>rootattr1</localName> <qualifiedName>rootattr1</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName/> <qualifiedName/> <value>any</value> <type>CDATA</type> </attribute> </attributes> </startElement> <char>m</char> <char>i</char> <char>s</char> <char>s</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>w</char> <char>h</char> <char>i</char> <char>t</char> <char>e</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>s</char> <char>t</char> <char>a</char> <char>r</char> <char>t</char> <char>\s</char> <char>t</char> <char>a</char> <char>g</char> <endElement> <namespaceURI/> <localName>rootattr1</localName> <qualifiedName>rootattr1</qualifiedName> </endElement> <fatalError/> <fatalError/> </ConformanceResults> |