Project

Profile

Help

Bug #1430

closed

NullPointerException if current-grouping-key() called when there is no current grouping key

Added by Michael Kay about 12 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2012-03-05
Due date:
% Done:

100%

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

Description

If the XSLT current-grouping-key() function is called when there is no current grouping key in the context, for example outside the scope of any xsl:for-each-instruction, then a NullPointerException occurs. The correct action is to return an empty sequence. A patch is being placed in Subversion.


Files

test.zip (641 Bytes) test.zip Max Zhaloba, 2012-07-19 13:46

Please register to edit this issue

Also available in: Atom PDF