- From: Paul Abrahams <abrahams@acm.org>
- Date: Wed, 22 Jul 98 18:16:12 -0400
- To: xml-editor@w3.org
- Cc: abrahams@acm.org
I've noticed a syntactic ambiguity in productions 49/50 that could be troublesome for parsers even though it has an obvious interpretation. If "children" has the form "(Name)", i.e., it's a singleton, then it can be interpreted either as a choice or as a seq. One cure would be to replace the *s in P49/P50 by +s and to add a production P50A: singleton ::= '(' S? cp ')' and modify P47 and P48 to include "singleton" in the list of choices for particles.
Received on Wednesday, 22 July 1998 18:16:09 UTC