That was it ... thanks very much ... Kevin
-----Original Message----- From: Keith Visco [mailto:kvisco@;intalio.com] Sent: Thursday, October 24, 2002 3:01 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Any way to get the SourceGenerator to create FieldDescriptors that have setRequired set to false use the following: minOccurs="0" --Keith "Gomes, Kevin" wrote: > > Hello all, > > I have a schema that defines an element that is optional: > > <xsd:schema targetNamespace="http://www.anywhere.org/someSchema" >xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <xsd:element name="topElement" type="ElementTypeOne"/> > <xsd:complexType name="ElementTypeOne"> > <xsd:sequence> > <xsd:element name="thingID" type="xsd:long" use="optional"/> ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
