Hi Ron,

to exactly find what is wrong, you need to give us
the version of Castor you are using and a simple Test case (or at least
the XML Schema and the XML you try to unmarshall).

Thanks,
Arnaud

-> -----Original Message-----
-> From: Ron King [mailto:[EMAIL PROTECTED]]
-> Sent: Tuesday, December 11, 2001 4:04 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] SourceGenerator question
-> 
-> 
-> 
-> Hi Castor List,
-> 
-> I get an IllegalArgumentException at runtime when trying to unmarshal an
-> 
-> xml file. The error is caused by a value not being a valid TypeType. The
-> 
-> value is 'skill', and here it is in the xsd file:
-> 
-> ....
->  <xsd:extension base="xsd:string">
->    <xsd:attribute name="type">
->      <xsd:simpleType>
->        <xsd:restriction base="xsd:string">
->   <xsd:enumeration value="skill" />
-> ...
-> 
-> How can I make the SourceGenerator add it to the TypeType.java file? I
-> can modify the file manually, and get it to work, but I don't want to do
-> 
-> it this way.
-> 
-> Regards,
-> 
-> Ron
-> 
-> ----------------------------------------------------------- 
-> 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