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
http://lists.w3.org/Archives/Public/www-xml-query-comments/2002Jan/0002.html
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
        foobar
    or
        foo bar
    ?
    (And is the effect the same for Pragmas and MUExtensions?)

--------

[9] DoubleLiteral

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

[23] HexDigits

    Change
        ([0-9] | [a-f] | [A-F])
    to
        [0-9a-fA-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
character"
[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.3.1 : Wednesday, 5 February 2014 07:13:57 UTC