W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2005

[Bug 1376] New: [XQuery] some editorial comments on A.1.1 grammar-note: parens

From: <bugzilla@wiggum.w3.org>
Date: Wed, 11 May 2005 07:30:29 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DVlfp-0000jV-U8@wiggum.w3.org>

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

           Summary: [XQuery] some editorial comments on A.1.1 grammar-note:
                    parens
           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: parens

"A look-ahead of one character is required to distinguish function patterns"
    Change "function patterns" to "a FunctionCall".

"from a QName or keyword followed by a Pragma, or Comment"
    Delete comma.

"for (: whom the bell :) $tolls = 3 return $tolls"
    This example is illegal. Change "=" to "in" ?

(this note)
    What's so special about this particular case that it deserves to be pointed
    out? There are lots of other cases that require lookahead (in a lookahead-
    based parser), and more lookahead than just one character. I think this
    grammar-note should be dropped.
Received on Wednesday, 11 May 2005 07:30:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC