[Bug 2287] [xqueryx] forclause and letclause

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2287

           Summary: [xqueryx] forclause and letclause
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: davidc@nag.co.uk
         QAContact: public-qt-comments@w3.org


The XQuery concrete syntax allows multiple for (or similarly let) bindings in a
FLWOR expression to be separated by either "for" or "," however there is no
semantic distinction between these two cases. In Xquery you need to use "for"
rather than "," for the first binding, and the for the first binding
after a let, but in XQueryX even this distinction is not required as the
named elements remove any ambiguity anyway.

I think that the schema can be simplified (and improved) by dropping
forClauseItem and letClauseItem and instead using these definitions as the
definitions of forClause and letClause.

David

Received on Thursday, 22 September 2005 13:39:58 UTC