This may sound like a stupid question, but I am still relatively new
to Relax-NG (~6mo's use). The following RNG schema fragment should
really be redundant in the use of choice:
<define name="a-pattern-using-double-choice" combine="choice">
<choice>
<ref name="a-pattern-reference-A" />
<ref name="a-pattern-reference-B" />
</choice>
</define>
<define name="a-pattern-using-double-choice" combine="choice">
<ref name="a-pattern-reference-C" />
</define>
This is equivalent to the following is it not?
<define name="a-pattern-using-double-choice">
<choice>
<ref name="a-pattern-reference-A" />
<ref name="a-pattern-reference-B" />
<ref name="a-pattern-reference-C" />
</choice>
</define>
If so, what would be the advantage/disadvantage of using one or the
other?
Thanks,
David