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 13493 - Initial clause in a FLWOR expression
Summary: Initial clause in a FLWOR expression
Status: CLOSED DUPLICATE of bug 6295
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-01 04:26 UTC by Michael Kay
Modified: 2013-06-19 08:29 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2011-08-01 04:26:29 UTC
In the prose of 3.9 it says "The initial clause in a FLWOR expression may be a for, let, window, or count clause.". However, in the grammar,

InitialClause  ::=  ForClause | LetClause | WindowClause

The description of the count clause gives no semantics for its use as an initial clause, so I assume the grammar is correct and the prose is wrong.
Comment 1 Michael Dyck 2011-08-01 22:18:49 UTC
Yes. At meeting #376, we accepted Don Chamberlin's recommendation to "restrict count-clause to be an intermediate clause."

Member-only link to minutes:
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2008Sep/0033.html
Comment 2 Jonathan Robie 2011-09-10 21:34:18 UTC
Yes. Fixed now.
Comment 3 Michael Kay 2013-06-19 08:29:20 UTC

*** This bug has been marked as a duplicate of bug 6295 ***