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 org.dom4j.io.aelfred.SAXDriver |
---|---|
<?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/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/namespaces/1.0/002.xml</systemID> </resolveEntity> <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/> <localName/> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> |