This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25305 - [XT30TS] for-each-group-002
Summary: [XT30TS] for-each-group-002
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: 2nd Edition Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 10:37 UTC by Tim Mills
Modified: 2015-03-30 09:55 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2014-04-10 10:37:59 UTC
This test is marked

      <spec value="XSLT20+"/>

but uses an xsl:version="3.0" attribute in the stylesheet.
Comment 1 Michael Kay 2014-04-10 11:32:59 UTC
Well, it's an error case, and although a 2.0 processor will report a slightly different error (variable $g not declared) it should still pass the test.

Note, the context for this is a decision last week to drop the bind-group attribute from for-each-group; most of the tests have been changed to remove this attribute but this one was retained as a test that the attribute is now rejected.
Comment 2 Michael Kay 2015-03-20 15:03:45 UTC
Closing as invalid on the grounds stated.
Comment 3 Abel Braaksma 2015-03-30 02:35:17 UTC
The test was modified on 2014-09-05 and split into an XSLT20 and XSLT30+ case, with different error codes, so I think the bug report is correct in that it actually was a bug. Marking it fixed, because I think invalid would mean that no action was taken.
Comment 4 Tim Mills 2015-03-30 09:55:54 UTC
Thanks.