opensubscriber
   Find in this group all groups
 
Unknown more information…

j : j-users@xerces.apache.org 27 June 2009 • 1:59PM -0400

Re: Java representation of a complex schema type
by Mukul Gandhi

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi David,
   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:sequence>
> <xs:element name="item" type="ParameterType" nillable="true" minOccurs="0"
> maxOccurs="unbounded" />
> </xs:sequence>
> </xs:complexType>
> Is there a way I can tell the minOccurs and maxOccurs of the sequence of an
> element in using JAXP ?
> thanks,
> David


--
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerc...
For additional commands, e-mail: j-users-help@xerc...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.