Tests element with a required field missing. The STag is missing for the element "root".
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root (#PCDATA)> ]> missing start tag</root>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <char>\n</char> <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>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> <fatalError/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">-1</bug> </ConformanceResults> |