Namespace name test: a syntactically plausible URI with a fictitious scheme
<?xml version="1.0"?> <!-- Namespace name test: a syntactically plausible URI with a fictitious scheme --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ATTLIST foo xmlns CDATA #IMPLIED> ]> <foo xmlns="zarquon://example.org/namespace"/>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix/> <data>zarquon://example.org/namespace</data> </startPrefixMapping> <startElement> <namespaceURI>zarquon://example.org/namespace</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>zarquon://example.org/namespace</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.NullPointerException"/> </ConformanceResults> |