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 oracle.xml.parser.v2.SAXParser |
---|---|
<?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/> <startPrefixMapping> <prefix>a</prefix> <data>http://example.org/namespace</data> </startPrefixMapping> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/2000/xmlns/</namespaceURI> <localName>a</localName> <qualifiedName>xmlns:a</qualifiedName> <value>http://example.org/namespace</value> <type>CDATA</type> </attribute> </attributes> </startElement> <ignorable>\n</ignorable> <ignorable>\s</ignorable> <startPrefixMapping> <prefix>a</prefix> <data/> </startPrefixMapping> <startElement> <namespaceURI/> <localName>bar</localName> <qualifiedName>a:bar</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/2000/xmlns/</namespaceURI> <localName>a</localName> <qualifiedName>xmlns:a</qualifiedName> <value/> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>bar</localName> <qualifiedName>a:bar</qualifiedName> </endElement> <endPrefixMapping> <prefix>a</prefix> </endPrefixMapping> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix>a</prefix> </endPrefixMapping> <fatalError/> </ConformanceResults> |