OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: Issue: implicit grouping in <start>

> <start>
>   <ref name="foo"/>
>   <ref name="bar"/>
> </start>
> Would it be better for this to be an error or for it to mean

I think it would be better to make it an error.

In cases like this, the intention of the author is probably a choice of
foo or bar. But treating it as implicit <choice> seems confusing because
all other patterns employ implicit <group>.

If the author really wants to have a group of foo and bar, then s/he may
be surprised to see a validator rejecting the schema. But s/he can
always use explicit <group>.

Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@sun.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC