Not sure whether you'd need a binding file (or not, as there's not
enough information to make an educated guess). As such, can I please ask
you to create a Jira issue at

http://jira.codehaus.org/browse/CASTOR

and I'll be back with more than a wild guess in due time.

Werner

Karr, David wrote:
> I asked about this last month, but I wasn't committed to resolving it
> then.
> 
> I'm porting from 0.9.6 to 1.1, and after resolving other setup issues, I
> see the following compile error (this is the first one), somewhat
> paraphrased:
> 
> .../BorrowerType.java:97: unmarshal(java.io.Reader) in ...BorrowerType
> cannot override unmarshal(java.io.Reader) in ...CustomerType; attempting
> to use incompatible return type
> found   : ...BorrowerType
> required: ...CustomerType
>     public static ...BorrowerType unmarshal(
> 
> An excerpt from the relevent schema (consumertypes.xsd) looks like this:
> 
>       <xs:complexType name="BorrowerType">
>               <xs:complexContent>
>                       <xs:extension base="crm:CustomerType"/>
>               </xs:complexContent>
>       </xs:complexType>
> 
> Note that there are three schemas, "consumer.xsd", "consumertypes.xsd",
> and "consumercrmtypes.xsd".  The first one includes the second one, and
> imports the third one. In our "maven.xml", we generate the source
> corresponding to all 3 of these schemas.
> 
> I imagine I probably have to build a bindings file to deal with this,
> but I'm not sure what it needs to do.
> 
> ---------------------------------------------------------------------
> 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