Re: <start> pattern with @combine

From
Kohsuke KAWAGUCHI <>
Date
2001-06-29T00:11:30+00:00
ID
Thread
Re: <start> pattern with @combine
> According to a message from James on xml-dev, we do allow the combine
> attribute on <start>...

Thank you. Then now my question would be what happens if a start pattern
will have both the name attribute and the combine attribute?

<start name="foo" combine="choice">
  P
</start>

Will it be treated as

<start>
  <ref name="foo"/>
</start>
<define name="foo" combine="choice">
  P
</define>

Or will it be treated as

<start combine="choice">
  <ref name="foo"/>
</start>
<define name="foo">
  P
</define>

?

The difference is non-trivial.

regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems