Illegal use of prefix that has been unbound
<?xml version="1.1"?> <!-- Illegal use of prefix that has been unbound --> <foo xmlns:a="http://example.org/namespace"> <a:bar xmlns:a=""/> </foo>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix>a</prefix> <data>http://example.org/namespace</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/namespaces/1.1/005.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |