You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2011/06/07 22:37:58 UTC

[jira] [Resolved] (JXPATH-140) Error in loop of NamespaceResolver

     [ 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