I downloaded it from http://castor.exolab.org/download.html.

FL

-----Original Message-----
From: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Duplicate type classes for attribute
definitions


Which version of Castor are you using?
is it the CVS version?


Arnaud

-> -----Original Message-----
-> From: Liu, Fengxian [mailto:[EMAIL PROTECTED]]
-> Sent: Thursday, November 29, 2001 7:23 AM
-> To: [EMAIL PROTECTED]
-> Subject: Re: [castor-dev] Duplicate type classes for attribute
-> definitions
-> 
-> 
-> Hi -
->   I generated java classes from a schema like:
-> 
-> <?xml version="1.0"?>
-> <schema xmlns='http://www.w3.org/2001/XMLSchema'>
->   <element name="catalog">
->     <complexType>
->       <sequence>
->         <element ref="item" minOccurs="1" maxOccurs="unbounded" />
->       </sequence>
->     </complexType>
->   </element>
-> 
->   <element name="item">
->     <complexType>
->       <choice minOccurs="1">
->         <element name="title" type="string" />
->         <element name="teacher" type="string" />
->         <element name="guest" type="string"  />
->         <element name="description" type="string" />
->       </choice>
->     </complexType>
->   </element>
-> </schema>
-> 
->   When I tried to marshall data into a .xml file, it asked for all the
-> elements ("title", "teacher", etc.) of the choice data type within the
-> element "item" instead of aksing for any one of them. 
->   I wonder if that is a limitation or a bug?
-> 
->   Thanks.
-> 
->   FL
-> 
->   
-> 
-> ----------------------------------------------------------- 
-> 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

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to