Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
2.6
-
None
-
None
-
fp2
Description
XSLTC attempts to optimize predicates whose values are numeric by wrapping the iterator for the expression that is being filtered with an NthPositionIterator. The latter iterator skips directly to the relevant item in the nested iterator. The problem is that this optimization only applies if the value of the predicate is unaffected by the context item, but XSLTC is not preventing the optimization from being applied in all such cases. I will attach an example that demonstrates the problem.