#1185 FLWOR window clause: variables at end of sequence

v9.4
closed
Michael Kay
5
2012-10-08
2011-12-30
Michael Kay
No

In an XQuery 3.0 FLWOR expression with a window clause, where windows are closed automatically because the end of the input sequence has been reached rather than because the end condition is satisfied, the variables corresponding to the end of the window (the end item and position, and the previous item) all relate to the penultimate item in the input sequence rather than the last item.

A patch is being placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2012-01-23

    Fixed in 9.4.0.2