[Bug 1382] New: [XQuery] some editorial comments on A.1.1 grammar-note: occurrence-indicators

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

           Summary: [XQuery] some editorial comments on A.1.1 grammar-note:
                    occurrence-indicators
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


A.1.1 grammar-note: occurrence-indicators

[See a later comment for suggested alternate wording.]

"Any occurrence of '+' and '*', as well as '?', following a sequence type is
assumed to be an occurrence indicator."
    Even when the only possible derivation says it's not an occurrence
    indicator?  So in
        4 treat as item() + 5
    the '+' is assumed to be an occurrence indicator, which would then lead to a
    syntax error? Probably yes, but might be good to say so.

Received on Wednesday, 11 May 2005 07:35:01 UTC