Namespace name test: an http IRI that is not a URI
<?xml version="1.0" encoding="iso-8859-1"?> <!-- Namespace name test: an http IRI that is not a URI --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ATTLIST foo xmlns CDATA #IMPLIED> ]> <foo xmlns="http://example.org/rosé"/>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix/> <data>http://example.org/rosé</data> </startPrefixMapping> <startElement> <namespaceURI>http://example.org/rosé</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>http://example.org/rosé</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix/> <data>http://example.org/rosé</data> </startPrefixMapping> <startElement> <namespaceURI>http://example.org/rosé</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>http://example.org/rosé</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> |