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