W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 1998

Re: XML 1.0 - query - ambiguous syntax in choice/seq ?

From: Tim Bray <tbray@textuality.com>
Date: Sun, 03 May 1998 18:40:34 -0700
Message-Id: <3.0.32.19980503184019.00c27b00@pop.intergate.bc.ca>
To: kmp@harlequin.com (Kent M Pitman), xml-editor@w3.org
Cc: kmp@harlequin.com
At 07:42 PM 5/3/98 EDT, Kent M Pitman wrote:
>Regarding syntax rules [48]-[50], if I'm parsing for a cp and see the text:
>
> (Foo)*
>
>is the "(Foo)" a choice or a seq?  Unless there is a clarification 
>somewhere, it seems to me to match both.  And I'm uncomfortable 
>picking one or the other arbitrarily.

It doesn't make any difference in the language matched by the 
content model; so you can pick either without loss of information.
 -Tim
Received on Sunday, 3 May 1998 21:41:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT