Keith, 

it does work with javaclassmapping=element. My mistake.

rich

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 3:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Source Generator





"Davis, Richard" wrote:
> 
> Thanks Keith,
> 
> I got it working as you explained. I had to set
> org.exolab.castor.builder.javaclassmapping=type so SourceGenerator would
not
> try to generate the class I refer to in the extra schema.
> 

hmmm, I'll have to look into that. javaclassmapping=element should work
too. A class should get created by for the element, using the element's
name, and this class should simple extend the class from the extra
schema. Of course if the element and the complexType have the same name
then maybe it appears that it was getting created for the complexType.

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

Reply via email to