Next in thread → Next in month →

Re: Issue: implicit grouping in <start>

From
Kohsuke KAWAGUCHI <>
Date
2001-07-09T19:43:11+00:00
ID
Thread
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>.


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   
Next in thread → Next in month →