- From: Per Bothner <per@bothner.com>
- Date: Tue, 22 Oct 2002 16:25:14 -0400 (EDT)
- To: public-qt-comments@w3.org
May I suggest/request changing the XQuery grammar from:
[81] EnclosedExpr ::= "{" ExprSequence "}"
to:
[81] EnclosedExpr ::= "{" ExprSequence? "}"
I.e. making the ExprSequence be optional. This may seem
pointless, but it makes it easier to nest XQuery comments
inside ElementContent (and function definitions). E.g.:
<table>
{ {-- We use a table here, just because. --} }
<tr> ...</tr>
</table>
as opposed to having to put extra parentheses:
{({-- We use a table here, just because. --})}
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
Received on Wednesday, 23 October 2002 04:59:03 UTC