CDATA sections containing only whitespace do not match the nonterminal S, and cannot appear in these positions.
<?xml version='1.0' standalone='yes'?> <!DOCTYPE root SYSTEM "../valid/sa.dtd"> <root><![CDATA[ ]]><child> The whitespace before and after this element keeps this from being standalone. (CDATA is just another way to represent text...) </child><![CDATA[ ]]></root>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/sa.dtd</systemID> </resolveEntity> <notation> <name>bar</name> <systemID>file:/dev/tty</systemID> </notation> <notation> <name>foo</name> <publicID>-//public id//foo</publicID> <systemID>file:/dev/null</systemID> </notation> <notation> <name>nonce</name> <systemID>file:/dev/null</systemID> </notation> <unparsedEntity> <name>unparsed-1</name> <publicID>-//some public//ID</publicID> <systemID>file:/dev/console</systemID> <notation>nonce</notation> </unparsedEntity> <unparsedEntity> <name>unparsed-2</name> <systemID>scheme://host/data</systemID> <notation>foo</notation> </unparsedEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <startElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>T</char> <char>h</char> <char>e</char> <char>\s</char> <char>w</char> <char>h</char> <char>i</char> <char>t</char> <char>e</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>b</char> <char>e</char> <char>f</char> <char>o</char> <char>r</char> <char>e</char> <char>\s</char> <char>a</char> <char>n</char> <char>d</char> <char>\s</char> <char>a</char> <char>f</char> <char>t</char> <char>e</char> <char>r</char> <char>\s</char> <char>t</char> <char>h</char> <char>i</char> <char>s</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>\s</char> <char>k</char> <char>e</char> <char>e</char> <char>p</char> <char>s</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>t</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>f</char> <char>r</char> <char>o</char> <char>m</char> <char>\s</char> <char>b</char> <char>e</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>s</char> <char>t</char> <char>a</char> <char>n</char> <char>d</char> <char>a</char> <char>l</char> <char>o</char> <char>n</char> <char>e</char> <char>.</char> <char>\s</char> <char>\s</char> <char>(</char> <char>C</char> <char>D</char> <char>A</char> <char>T</char> <char>A</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>j</char> <char>u</char> <char>s</char> <char>t</char> <char>\s</char> <char>a</char> <char>n</char> <char>o</char> <char>t</char> <char>h</char> <char>e</char> <char>r</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>w</char> <char>a</char> <char>y</char> <char>\s</char> <char>t</char> <char>o</char> <char>\s</char> <char>r</char> <char>e</char> <char>p</char> <char>r</char> <char>e</char> <char>s</char> <char>e</char> <char>n</char> <char>t</char> <char>\s</char> <char>t</char> <char>e</char> <char>x</char> <char>t</char> <char>.</char> <char>.</char> <char>.</char> <char>)</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <endElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> </endElement> <char>\n</char> <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/sun/valid/sa.dtd</systemID> </resolveEntity> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.NullPointerException"/> </ConformanceResults> |