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.

Reply via email to