[ 
https://issues.apache.org/jira/browse/JXPATH-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Benson resolved JXPATH-140.
--------------------------------

    Resolution: Fixed

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to