Project

Profile

Help

Bug #2945

closed

for-each-group context not being preserved over context-altering steps

Added by John Lumley over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2016-09-17
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Situations which alter local context, such as indexed filtering or xsl:for-each@, do not preserve any inherited grouping context, which is only altered by @xsl:for-each-group@. Thus @current-group() and current-grouping-key() can fail or be erroneous.

  • preserveGrouping() added to transform.Context

  • calls to this added to several Expr steps.

Changes committed to Saxon-JS code branch, but issue left open for other cases

Please register to edit this issue

Also available in: Atom PDF Tracking page