This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
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
Yes. Fixed now.
*** This bug has been marked as a duplicate of bug 6295 ***