You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michele Vivoda (JIRA)" <ji...@apache.org> on 2007/12/23 02:48:43 UTC
[jira] Created: (JXPATH-111) ClassCastException in
PrecedingOrFollowingContext
ClassCastException in PrecedingOrFollowingContext
-------------------------------------------------
Key: JXPATH-111
URL: https://issues.apache.org/jira/browse/JXPATH-111
Project: Commons JXPath
Issue Type: Bug
Affects Versions: 1.3
Reporter: Michele Vivoda
Priority: Minor
in PrecedingOrFollowingContext at line 151
I believe the code should be changed, from
it = (PropertyIterator) stack.peek();
to
it = (NodeIterator) stack.peek();
Test case:
count(//preceding::node())
<root><a1><b1/><b2/></a1><a2/></root>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JXPATH-111) ClassCastException in
PrecedingOrFollowingContext
Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JXPATH-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson resolved JXPATH-111.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.3
confirmed, commit revision 606733. Thanks!
> ClassCastException in PrecedingOrFollowingContext
> -------------------------------------------------
>
> Key: JXPATH-111
> URL: https://issues.apache.org/jira/browse/JXPATH-111
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Michele Vivoda
> Priority: Minor
> Fix For: 1.3
>
>
> in PrecedingOrFollowingContext at line 151
> I believe the code should be changed, from
> it = (PropertyIterator) stack.peek();
>
> to
> it = (NodeIterator) stack.peek();
> Test case:
> count(//preceding::node())
> <root><a1><b1/><b2/></a1><a2/></root>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.