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

[XQuery] lexical leftovers 1

From: Michael Dyck <jmdyck@ibiblio.org>
Date: Fri, 13 Feb 2004 18:14:39 -0800
To: public-qt-comments@w3.org
Message-id: <402D848F.D8B71E74@ibiblio.org>

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

Here are some comments from
that did not receive a response from the WG.


[3] ExprComment

    This seems like a poor name for the symbol, given that it's not a
    kind of expression. (In fact, CompXmlComment would seem to have more
    of a claim to the name, since it actually is a kind of expression.)
    Why not just "Comment"?

    By the way, why did you drop single-line comments (# to line-end)?

    What is the grammatical/lexical effect of a comment? E.g., is
        foo(: comment :)bar
    equivalent to
        foo bar
    (And is the effect the same for Pragmas and MUExtensions?)


[9] DoubleLiteral

    Change ("e" | "E") to [eE]
    Change ("+" | "-") to [+-]

[23] HexDigits

        ([0-9] | [a-f] | [A-F])


3.7.1 Direct Element Constructors

"a pair of identical curly brace characters within the content of an
element or attribute are interpreted by XQuery as a single curly brace
[And similarly in A.2.2 ELEMENT_CONTENT.]
    An alternative would be to use character references (e.g., &#x7b;
    and &#x7d;).

-Michael Dyck
Received on Friday, 13 February 2004 21:16:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:54 UTC