Using the public APIs provided in, XSElementDeclaration it seems
you cannot retrieve occurrence indicator values (maxOccurs and
minOccurs) of an element declaration.
Perhaps somebody can correct me..
Just curious, why do you need to retrieve this information using an
API, as an end user facility?
On Fri, Jun 26, 2009 at 10:59 PM, govelogo<govelogo@gmai...> wrote:
> Hi there,
> I am trying to identify a complex type defined in a similar manner as the
> following sketch of schema. I was hoping to be able to get the information
> from a XSElementDeclaration class retrieved from an ElementPSVI class.
> However, it seems I have not found the right method to do it.
> <xs:complexType name="ArrayOfParameterType">
> <xs:element name="item" type="ParameterType" nillable="true" minOccurs="0"
> maxOccurs="unbounded" />
> Is there a way I can tell the minOccurs and maxOccurs of the sequence of an
> element in using JAXP ?