[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: Getting minOccurs , MaxOccurs vary xsd:any
From: "Radu Preotiuc-Pietro" <radup () bea ! com>
Date: 2005-03-23 2:19:05
Message-ID: 4B2B4C417991364996F035E1EE39E2E101A05FE4 () uskiex01 ! amer ! bea ! com
[Download RAW message or body]
SchemaType.getContentModel().getMaxOccurs()
will return BigInteger.ONE for the first case and null for the second.
Radu
-----Original Message-----
From: Ali, Haneef [mailto:haneef.ali@hp.com]
Sent: Tuesday, March 22, 2005 12:40 PM
To: user@xmlbeans.apache.org; dev@xmlbeans.apache.org
Subject: Getting minOccurs , MaxOccurs vary xsd:any
Hi,
From schemaType, we can determine whether it has "wildCardElements". How
to determine whether it is declared with maxOccurs=unbounded?
Eg:
<complexType name="SomeName" >
<xsd:any>
</complexType>
<complexType name="SomeName" >
<xsd:any minOccurs="0", maxOccurs="unbounded">
</complexType>
Is there a way to distinguish these two cases?
Regards,
Haneef
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic