Just to clarify, I was merely pointing out the same-ish issue elsewhere, rather than condoning that choice!
_________________
Tomos Hillman
eXpertML Ltd
+44 7793 242058
On 19 Jan 2022, 3:47 PM +0000, C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>, wrote:
>
> Tom Hillman writes:
>
> > c.f. this note:
> >
> > https://www.w3.org/TR/xquery-31/#id-map-constructors
>
> While I have a great affection and respect for many of those who served
> in the XQuery WG and admire the languages they and the XSLT WG created,
> their approach to grammar design and parsing is not a part of their
> activity that anyone should wish to emulate. Ad hoc rules of the form
> "if this doesn't work right, try adding whitespace" are a prime example
> of why.
>
> The XQuery grammar is ... not an example of admirable syntax design.
>
> Michael
>
>
>
> --
> C. M. Sperberg-McQueen
> Black Mesa Technologies LLC
> http://blackmesatech.com