Project

Profile

Help

Bug #2290

closed

Incorrect current-grouping-key() with streamed group-adjacent

Added by Michael Kay about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
Start date:
2015-01-16
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

When xsl:for-each-group is used in streaming mode with a grounded but consuming select expression, using group-adjacent, the value of current-grouping-key() is incorrect: it is the key of the next group rather than the current group.

Reported by Martin Honnen here:

https://saxonica.plan.io/boards/3/topics/6059

Added to the W3C test suite as si-for-each-group/si-group-029.

A patch has been committed on the 9.6 branch (to class ForEachGroupAdjunct)

Actions #1

Updated by O'Neil Delpratt about 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.5

Bug fix applied in the Saxon 9.6.0.5 maintenance release.

Actions #2

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.5
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.5 added

Please register to edit this issue

Also available in: Atom PDF