You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by manish balsara <ma...@aumsoft.com> on 2002/07/21 08:02:13 UTC

Schema PSVI

Hi

1. I am having trouble finding the API to use to get particle information 
for a local Element using PSVI / XSElementDeclaration

Example:

<xs:complexType name="RequestVerb">
  <xs:complexContent>
    <xs:extension base="ConfirmableVerb">
      <xs:sequence>
        <xs:element name="el2" type="xs:string" minOccurs="1" 
maxOccurs="20"/>
        <xs:element name="el3" type="xs:string" minOccurs="1" 
maxOccurs="10"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

How can I get values of minOccurs/maxOccurs for elements el2 and el3?


2. In Xerces 2.0.2, there is preliminary support for annotations. Any 
idea when the complete support for Annotations would be included? Also, 
would it be possible to specify a class to parse the Annotations? That 
would avoid having to parse the Annotations for each instance of the 
element encountered during the validation phase?

thanks
manish



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org