Note that when I made a test case that just generates from the one
schema that references this type, it generated valid code, where the
unmarshal method correctly returns the supertype. 

> -----Original Message-----
> From: Karr, David 
> Sent: Thursday, May 31, 2007 8:12 AM
> To: [email protected]
> Subject: [castor-user] Another case where a subtype fails to 
> override the unmarshal method
> 
> I'm using the latest code from SVN, including a patch for 
> CASTOR-1986 (and indirectly CASTOR-1934).  I have a 
> relatively large test case, with dozens of schemas, most of 
> them including other schemas.  I'm using JDK 1.4.2.
> 
> My current problem is something like what I've seen before, 
> where a generated subtype fails to compile because of its 
> "unmarshal" method, because it tries to return the current 
> type, which conflicts with the definition in the supertype.
> 
> Is there a general strategy for dealing with this, or do I 
> have to build a test case for this to determine a solution?
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

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

    http://xircles.codehaus.org/manage_email

Reply via email to