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 section 3.10 it is stated: Conceptually, the initial clause generates a tuple stream. Each intermediate clause takes the tuple stream generated by the previous clause as input and generates a (possibly different) tuple stream as output. In this sentence, "the initial clause" means "the first clause", while "Each intermediate clause" means each clause after the first, before the "return". That is, they don't mean the same as InitialClause and IntermediateClause in the grammar. A recent thread on xquery-talk suggests that this has been misread and has caused confusion.
I propose to close this with the following text: Delete: A FLWOR expression consists of an initial clause, zero or more intermediate clauses, and a final clause. Rewrite: Conceptually, the first</phrase> clause generates a tuple stream. Each clause between the first clause and the return clause takes the tuple stream generated by the previous clause as input and generates a (possibly different) tuple stream as output. The return clause takes a tuple stream as input and, for each tuple in this tuple stream ...