- From: Jeff Rafter <lists@jeffrafter.com>
- Date: Fri, 28 Jan 2005 22:40:07 -0700
- To: Jeff Sonstein <jeffs@it.rit.edu>
- CC: xmlschema-dev@w3.org
> do I understand this correctly?
Yes, but why not change it to:
<xs:complexType name="groupingAndChildrenNodes">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Anchor"/>
<xs:element ref="Background"/>
[...]
</xs:choice>
</xs:complexType>
In DTD, your existing model is ((Anchor | Background))* but with the
above change it would be (Anchor | Background)* which has one less step
of indirection.
Cheers,
Jeff Rafter
Received on Saturday, 29 January 2005 05:40:40 UTC