commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Tsankov" <n.tsan...@bg.seeburger.com>
Subject [jxpath] bug in DOMNodePointer?
Date Thu, 17 Jun 2004 08:29:44 GMT
class "org.apache.commons.jxpath.ri.model.dom.DOMNodePointer" in method
"public NodePointer createChild(JXPathContext context, QName name, int
index)"
has "NodeIterator it = childIterator(new NodeNameTest(name), false, null);"

Now where is the namespaceUri of this NodeNameTest constructor? In case
there is a namespace, the check next line fails and an exceptions is thrown

fix: "...new NodeNameTest(name,
context.getNamespaceURI(name.getPrefix()))..."


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message