[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Possible problem with bean-deployer_2_0.xsd
adrian@jboss.org
do-not-reply at jboss.com
Thu Nov 6 12:23:30 EST 2008
"adrian at 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#4187442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187442
More information about the jboss-dev-forums
mailing list