All & Keith,

The bug has to do with source code generation and a missing equals() method for the 
<any> element.

We are also seeing a missing equals() method, but we are seeing it on any generated 
"<element>Item.java" file.  Castor seems to create the "<element>Item.java" file 
whenever a sequence, or choice has a unbounded maxOccurs.  We have the create equals 
property set to true.  

I have attached a small example schema showing the situation.  

This causes the equals() method to fail, because it is not comparing inner objects, 
but just the reference.  The solution would probably be a basic equals that similar to 
what is done for all other "real" elements.

Please let me know if this is a repeat (could not find it), or if you need information.

Also, if there is a work around that would be great.

Thanks,
Jay


 <<sample.xsd>>         

Attachment: sample.xsd
Description: sample.xsd

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to