- From: Stephen Buxton <Stephen.Buxton@oracle.com>
- Date: 16 Feb 04 13:32:52
- To: public-qt-comments@w3.org
- Cc:
SECTION A.2.2: lexical rules
The rules in the tables do not appear to allow comments,
pragmas and must-know extensions as ignorable whitespace
in the middle of certain sequences of tokens. For example,
in the DEFAULT state table, first row, last list item,
<"declare" "validation">, or more importantly, fourth row,
items <"for" "$">, <"let" "$">, <"some" "$">, <"every" "$">.
I believe the intention is to permit comments, pragmas and
must-know extensions in the midst of these token sequences.
Note that there is no recognition of just the first token
in these sequences ("declare", "for", "let", "some", "every")
so that for example
for (: set up loop :) $i in fn:doc("...")
is unrecognizable by these tables, and presumably a lexical
error. Glancing at the tables, it seems that whenever
you enclose a sequence of patterns in angle brackets <...>,
that it is not permitted to have a comment. This seems far
too limiting. How will users ever learn where they can insert
comments?
- Steve B.
Received on Monday, 16 February 2004 16:32:54 UTC