Namespace name test: a perfectly good http URI with a fragment
<?xml version="1.0"?> <!-- Namespace name test: a perfectly good http URI with a fragment --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ATTLIST foo xmlns CDATA #IMPLIED> ]> <foo xmlns="http://example.org/namespace#apples"/>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startPrefixMapping> <prefix/> <data>http://example.org/namespace#apples</data> </startPrefixMapping> <startElement> <namespaceURI>http://example.org/namespace#apples</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>http://example.org/namespace#apples</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/003.xml</systemID> </resolveEntity> <startPrefixMapping> <prefix/> <data>http://example.org/namespace#apples</data> </startPrefixMapping> <startElement> <namespaceURI>http://example.org/namespace#apples</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI>http://example.org/namespace#apples</namespaceURI> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endPrefixMapping> <prefix/> </endPrefixMapping> <endDocument/> </ConformanceResults> |