W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XQuery] A.1.1 Grammar Notes: parens

From: Michael Dyck <jmdyck@ibiblio.org>
Date: Sun, 15 Feb 2004 17:40:35 -0800
To: public-qt-comments@w3.org
Message-id: <40301F93.DBB4649@ibiblio.org>

XQuery 1.0: An XML Query Language
W3C Working Draft 12 November 2003

A.1.1 Grammar Notes
grammar-note: parens

"A look-ahead of one character is required to distinguish function
patterns from a QName followed by a comment."

    Change "comment" to "comment, pragma, or extension".

"For example:
    address (: this may be empty :)
may be mistaken for a call to a function named "address" unless this
lookahead is employed."

    It sounds like this lookahead would have to be incorporated into the
    operation of the A.2.2 machine. If so, that's another way in which
    A.2.2 is under-defined (see
    http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0348.html).

-Michael Dyck
Received on Sunday, 15 February 2004 20:41:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC