commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (JXPATH-140) Error in loop of NamespaceResolver
Date Tue, 07 Jun 2011 20:37:58 GMT

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

Matt Benson closed JXPATH-140.
------------------------------


> 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

Mime
View raw message