Reserved prefixes and namespaces: binding another prefix to the xmlns namespace
<?xml version="1.0"?> <!-- Reserved prefixes and namespaces: binding another prefix to the xmlns namespace --> <foo xmlns:ymlns="http://www.w3.org/2000/xmlns/"/>
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/033.xml</systemID> </resolveEntity> <startPrefixMapping> <prefix>ymlns</prefix> <data>http://www.w3.org/2000/xmlns/</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix>ymlns</prefix> </endPrefixMapping> <endDocument/> </ConformanceResults> |