- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Thu, 16 Dec 2021 22:03:05 +0000
- To: Dave Pawson <dave.pawson@gmail.com>, "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
- Cc: "Norm Tovey-Walsh" <norm@saxonica.com>, ixml <public-ixml@w3.org>
> I'd be happy with empty parens, but then .....
I'm not sure if it is clear, but empty parens is perfectly acceptable in
current ixml, if you prefer to use it.
a: "a"; ().
is legal ixml, and has the meaning you want.
Personally, when I want to be explicit, I write
a: "a"; empty.
-empty: .
but that's just a question of taste.
The syntax of parens is that they can contain anything that can appear on
the right-hand side of a rule, i.e that which can appear between the ":"
and the "." of a rule.
Steven
Received on Thursday, 16 December 2021 22:03:26 UTC