Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.6
-
None
-
None
-
fp4
Description
According to section 2.4 of XPath 1.0 [1], "A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the context position and will be converted to false...." However, Xalan-J interpretive appears to convert the number to an integer and compares the context position with that value, which makes a difference if the predicate value has a fractional portion.