Grammar allows element content in attributes

Hi,

I think there is a problem with the following lines of the IXML grammar:
> quote_type
> class: @code.
> code: letter, letter, S.


Since the definition of S allows comments as well as whitespaces, wouldn't this allow grammars which have <comment/> elements inside of @code?  Would the following work instead?
> quote_type
> class: @code, S.
> code: letter, letter.

Thanks!
Tom

_________________
Tomos Hillman
eXpertML Ltd
+44 7793 242058

Received on Tuesday, 15 June 2021 14:45:22 UTC