Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3
-
None
-
None
-
all
Description
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
Attachments
Issue Links
- duplicates
-
JXPATH-135 Potential infinite loop in NamespaceResolver.getPrefix()
-
- Resolved
-
- is duplicated by
-
JXPATH-187 Possible endless loop in Namespace Resolving
-
- Closed
-