Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3
-
None
Description
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>