"adrian(a)jboss.org" wrote :
| But I'd guess from this link (see the table) that you are not allowed to
| derive a choice from a choice except under very specific circumstances?
|
http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict
|
From that link:
anonymous wrote :
| One of the following must be true:
| 2.2.1 {particles} is empty and the particle within which this appears has {min
occurs} of 0.
| 2.2.2 All of the following must be true:
| 2.2.2.1 The particle within which this appears has {max occurs} and {min occurs} of
1.
| ...
|
This isn't true for baseCollectionType which has an unbounded choice
| <xsd:complexType name="baseCollectionType">
|
| <xsd:choice minOccurs="0" maxOccurs="unbounded">
|
| <xsd:group ref="valueGroup"/>
|
| </xsd:choice>
|
| ...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187442#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...