Project

Profile

Help

Bug #5483

Updated by Michael Kay over 2 years ago

By design, a filter expression of the form `SEQ[position() `SEQ[posiiton() = 1 to $n]` should be optimised to `subsequence(SEQ, 1, $n)`. 

 This isn't happening (revealed by xslt30-extra test case opt-016). The subexpression `1 to $n` is extracted into a variable, which means that the pattern `posiiton() = 1 to $n` doesn't get recognized.

Back