Re: [castor-user] Unmarshalling with a Set

2008-06-17 Thread Werner Guttmann
Thank you. Werner Elvedin Trnjanin wrote: > Done. http://jira.codehaus.org/browse/CASTOR-2422 > > > Werner Guttmann wrote: >> Sure. Can you please add a new Jira issue (e.g. a task) asking us to >> update the relevant documentation. If you had some time to identify the >> relevant areas where t

Re: [castor-user] Unmarshalling with a Set

2008-06-16 Thread Elvedin Trnjanin
Done. http://jira.codehaus.org/browse/CASTOR-2422 Werner Guttmann wrote: Sure. Can you please add a new Jira issue (e.g. a task) asking us to update the relevant documentation. If you had some time to identify the relevant areas where that 'feature' should be documented, that would be great. If

Re: [castor-user] Unmarshalling with a Set

2008-06-16 Thread Werner Guttmann
Sure. Can you please add a new Jira issue (e.g. a task) asking us to update the relevant documentation. If you had some time to identify the relevant areas where that 'feature' should be documented, that would be great. If you provided us with a patch, this would be really appreciated. Regards Wer

Re: [castor-user] Unmarshalling with a Set

2008-06-16 Thread Elvedin Trnjanin
A coworker figured out the this issue. The project had its own implementation of equals and hashCode which lead to Castor assuming subsequent objects were the same as the one already added, so they were skipped. This would be a good note to add in the documentation (or perhaps I've missed it so

Re: [castor-user] Unmarshalling with a Set

2008-06-12 Thread Werner Guttmann
Hi Elvedin, Elvedin Trnjanin wrote: > I used MappingTool to map the classes and then edited the result to fit > the provided XML file. That should not make a difference at all. > The MappingTool didn't have any issues with > Hibernate, nor did I find anything on the Castor web site to indicate

Re: [castor-user] Unmarshalling with a Set

2008-06-12 Thread Elvedin Trnjanin
I used MappingTool to map the classes and then edited the result to fit the provided XML file. The MappingTool didn't have any issues with Hibernate, nor did I find anything on the Castor web site to indicate any special handling of this situation. Hibernate probably isn't an issue because alwa

Re: [castor-user] Unmarshalling with a Set

2008-06-12 Thread Werner Guttmann
Hi, extension hierarchies should not really make a difference, as far as I can tell (as Castor can cope with pretty much any typical OO construct). The use of Hibernate (for persistence, I assume) could make a bit of a difference, though. Werner Elvedin Trnjanin wrote: > I have tested with anoth

Re: [castor-user] Unmarshalling with a Set

2008-06-12 Thread Elvedin Trnjanin
I have tested with another project and it works correctly. There are some differences, such as the project that isn't working is using Hibernate and extends "reverse engineering" classes, while the ones that do work are simple objects. I'll keep debugging and make a new Jira issue if I do find

Re: [castor-user] Unmarshalling with a Set

2008-06-12 Thread Werner Guttmann
Not sure. Afair, we've got a test case that covers collections in general and sets in particular. Can you please open a new Jira issue and attach all relevant files so that we could replay this problem. Regards Werner Elvedin Trnjanin wrote: > Hello all, > > I'm trying to unmarshal an XML file

[castor-user] Unmarshalling with a Set

2008-06-11 Thread Elvedin Trnjanin
Hello all, I'm trying to unmarshal an XML file with the structure of ... Mapping file: ... ... Everything else maps properly, however only the first members is put in the Set, all of the other ones are ignored. Is this a mapping issue or somethi