Project

Profile

Help

Bug #2003

closed

@composite = "yes" : current-grouping-key() returns a single string

Added by David Rudel almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2014-02-11
Due date:
% Done:

100%

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

Description

Release: Saxon 9.5.1.3 within oXygen.

Situation:

xsl:for-each-group called with composite="yes" and a group-by with a sequence of values.

Expected Behavior:

Placing {current-grouping-key()} inside of a value template will result in a concatenation of string values.

Actual Behavior:

{current-grouping-key()} yielding only the atomized value of the first item in the sequence.

Example script demonstrates issue. I expect the @key value in the output to have values like "3 blue" and "3 red".


Files

composite_grouping_key.xsl (974 Bytes) composite_grouping_key.xsl David Rudel, 2014-02-11 13:29

Please register to edit this issue

Also available in: Atom PDF