You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michele Vivoda (JIRA)" <ji...@apache.org> on 2009/12/11 19:23:18 UTC
[jira] Created: (JXPATH-140) Error in loop of NamespaceResolver
Error in loop of NamespaceResolver
----------------------------------
Key: JXPATH-140
URL: https://issues.apache.org/jira/browse/JXPATH-140
Project: Commons JXPath
Issue Type: Bug
Affects Versions: 1.3
Environment: all
Reporter: Michele Vivoda
In org.apache.commons.jxpath.ri.NamespaceResolver#String getPrefix(NodePointer pointer, String namespaceURI)
The loop variable is supposed to be changed in this way:
currentPointer = pointer.getParent();
but I think is a typo, it should be :
currentPointer = currentPointer.getParent();
I encountered an endless loop while calling toString() on a pointer
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.