Bug 16827 - [XT30] XTSE1060, XTSE1070
Summary: [XT30] XTSE1060, XTSE1070
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: https://www.w3.org/XML/Group/qtspecs/...
Depends on:
Reported: 2012-04-23 13:19 UTC by Tim Mills
Modified: 2013-02-12 20:57 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mills 2012-04-23 13:19:40 UTC
fn:function-lookup could be used to call current-group and current-grouping-key indirectly within a pattern.  Thus the errors XTSE1060 and XTSE01070 could be reaised dynamically.
Comment 1 Michael Kay 2012-05-16 22:09:29 UTC
We have introduced dynamic errors (1061, 1071) to be raised if current-group() or current-grouping-key() are called when the current group is absent. I propose that we use these error codes: we should define that within a pattern, the current group is absent, and therefore these errors apply to this case.

This is consistent with what happens if a pattern calls my:f() and my:f() calls current-group().
Comment 2 Michael Kay 2013-02-11 15:02:48 UTC
The WG accepted the proposal in comment #1.
Comment 3 Michael Kay 2013-02-12 20:57:20 UTC
Change applied as agreed (draft N).