bump Has anyone else seen a problem with the generated equals method.
Thanks, Jay -----Original Message----- From: Balunas, Jay Sent: Wednesday, May 26, 2004 5:37 PM To: [EMAIL PROTECTED] Subject: [castor-user] Bug #1575 assigned to Keith Visco - I might have similar but different issue 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>>
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
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
