> -----Original Message-----
> From: Kuns, Edward [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 15, 2007 3:44 PM
> To: [email protected]
> Subject: RE: [castor-user] Does Castor try to generate 
> different classes for same-named elements using the same type?
> 
> As Werner said in a follow-up that appeared after I started 
> this message, the Unmarshaller changes that are causing 
> problems for you actually reduce your risk of using code in a 
> way that compiles fine but generates exceptions at runtime.  
> If you have elements using the same name but with different 
> types, Castor must somehow resolve this.  If the types are 
> truly different, then you need to generate separate classes 
> for the elements.  The old resolution (overwrite and ignore) 
> works fine when the types are identical.

I completely agree with this.  When I realized the difference, I
appreciated it.  We just have to deal with the transition.  We have
control over the schemas, so we'll decide which strategy is best.

Thanks.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to