W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1412] [XQuery] Grammar: Allowing comments between $ and QName

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Jul 2005 17:07:16 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DvI2O-0004rq-3f@wiggum.w3.org>


------- Additional Comments From cmsmcq@w3.org  2005-07-20 17:07 -------
The only plausible way to make this change would be to make
VariableReference a token type.  (The only alternative I can
think of is an ad hoc rule, which lacks motivation.)

That would involve changes to productions 5 and 6, which is
not too onerous.  But it would also mean having a token type
with significant internal structure, and the rules for 
QNames (both syntactic and semantic) would have to be
either repeated between the token grammar and the main grammar
or else those rules have to be shared between the grammars,
which seems like a violation of modularity.

I think the general principle that tokens should be treatable
as atoms suffices to lead us to reject this proposal.
Received on Wednesday, 20 July 2005 17:07:20 UTC

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