- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Tue, 18 Jan 2022 13:12:58 +0000
- To: Tom Hillman <tom@expertml.com>, "Norm Tovey-Walsh" <norm@saxonica.com>, Dave Pawson <dave.pawson@gmail.com>
- Cc: ixml <public-ixml@w3.org>
- Message-Id: <1642511414326.2412248977.389598839@cwi.nl>
You can already add colons to names without changing anything else. It doesn't make the language ambiguous. I just tried it by adding colon to namefollower, and then parsing: abc:thing: abc:thing1, abc:thing2, abc:thing3; abc:thing3, abc:thing2, abc:thing1. abc:thing1: "a". abc:thing2: "b". abc:thing3: "c". and it produced: <ixml> <rule name='abc:thing'> <alt> <nonterminal name='abc:thing1'/> <nonterminal name='abc:thing2'/> <nonterminal name='abc:thing3'/> </alt> <alt> <nonterminal name='abc:thing3'/> <nonterminal name='abc:thing2'/> <nonterminal name='abc:thing1'/> </alt> </rule> <rule name='abc:thing1'> <alt> <literal dstring='a'/> </alt> </rule> <rule name='abc:thing2'> <alt> <literal dstring='b'/> </alt> </rule> <rule name='abc:thing3'> <alt> <literal dstring='c'/> </alt> </rule> </ixml> Steven On Wednesday 12 January 2022 11:15:29 (+01:00), Tom Hillman wrote: If standardising on "=" means that we can include colons in XML names, I think that it is well worth it. And we should review the possibility of including XML namespaces in v1. _________________ Tomos Hillman eXpertML Ltd +44 7793 242058 On 12 Jan 2022, 09:16 +0000, Dave Pawson <dave.pawson@gmail.com>, wrote: Cutting the argument presented by Norm. On Wed, 12 Jan 2022 at 07:06, Norm Tovey-Walsh <norm@saxonica.com> wrote: I propose that we avoid all that by saying that “=” is the only separator allowed in rules. +1 from me, KISS principles. I also propose that we settle on “;” as the optionality delimiter. Bethan observed over dinner that “|” is a useful meta character and we might want to save it for later. (Or we could use it today as the pragma delimiter, that would also be an option.) +10 here, semicolon just isn't a delimiter (to me). Vert bar seems so much more sensible. Just my 2d worth. If there are justifications for both these being as they currently are, I do hope they are serious and valid. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ.
Received on Tuesday, 18 January 2022 13:13:21 UTC