Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#241 namespace-uri() gives wrong result for DOM node

v8.0
closed
Michael Kay
5
2012-10-08
2004-08-09
Michael Kay
No

The namespace-uri() function (and the getURI() method
in the Java API) return incorrect results for a node in
a DOM. The value returned is the value of the DOM
method getNamespaceURI(), which does not always give
the namespace URI of the name of the node.

Source code fixed. The problem is revealed by an
existing test case, axes-dom132, which was returning
incorrect results.

Discussion