Jeff,
Jeff Sonstein wrote:
[ RE: http://www.xvrml.net/schemas/xVRML.xsd ]
Hey Bruce...
the response I got from the XML folks @ IBM Watson Center [when I sent that note to the xmlschema-dev list at w3.org] indicates my understanding of the groupingAndChildrenNodes is correct...
declaring:
<xs:complexType name="groupingAndChildrenNodes"> <xs:sequence maxOccurs="unbounded" minOccurs="0"> <xs:choice> <xs:element ref="Anchor"/> <xs:element ref="Background"/> [...] </xs:choice> </xs:sequence> </xs:complexType>
means:
"a sequence of as many choices as you want each choice made from the following list of possible choices"
That's the correct understanding...
so, for example, an element of type groupingAndChildrenNodes could end up containing 2 Anchors and a Background and...
Correct.
so what puzzles me is why Castor generates classes which seem as though there can only be one of each choice-possibility... or am I missing something?
Castor should generate a GroupingAndChildrenNodes class, that contains a collection of GroupingAndChildrenNodesChoiceType, of which each GroupingAndChildrenNodesChoiceType can contain on of the possible choices.
--Keith
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
