Hi,
I am having problems with the Castor Source generator.
my schema looks like this:
<xs:complexType name="Sender">
<xs:all>
<xs:element name="Address">
<xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="Receiver">
<xs:all>
<xs:element name="Address">
<xs:simpleType>
</xs:simpleType>
</xs:element>
</xs:all>
</xs:complexType>
When it generates the code ( using the default method,
ie. "element" based ), it generates all the other
classes fine, except the "Address" class. I want two
different "Address" classess, not one. What it does
is, overwrite the Sender's Address class with
Receiver's Address class.
Is there any way to force it to generate two Address
.java files even though the element name is the same
(i.e Address in both the cases ). Changing the element
name is not an option for various reasons.
thanks for your help,
Girish.
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev