Reserved prefixes and namespaces: declaring the xml prefix incorrectly
<?xml version="1.0"?> <!-- Reserved prefixes and namespaces: declaring the xml prefix incorrectly --> <foo xmlns:xml="http://example.org/namespace"/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/namespaces/1.0/029.xml</systemID> </resolveEntity> <startPrefixMapping> <prefix>xml</prefix> <data>http://example.org/namespace</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |