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

[XPath/XQuery] syntax of variable reference

From: Martin Duerst <duerst@w3.org>
Date: Sun, 15 Feb 2004 16:28:45 -0500
Message-Id: <4.2.0.58.J.20040215162455.030e99c8@localhost>
To: public-qt-comments@w3.org

In the syntax, "$" VarName turns up in various places.
This should be replaced by a non-terminal, e.g. VarRef,
which would be defined as:

    VarRef ::= "$" VarName

Also, the syntax seems to allow a space after the $, but
none of the examples have a space after the $. The above
rule would allow to forbid whitespace with a /* ws: explicit */.
There seems to be no need to allow whitespace after the $,
it will only confuse users.

Regards,   Martin.
Received on Sunday, 15 February 2004 16:40:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC