Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Castor mappings are added multiple times [SWS-418] #567
When using multiple mapping files for castor the CastorMarshaller adds each mapping several times.
The mappings from file1 are added 3 times because the addMapping() method is called within the loop with the entire mapping.
Should actually look like this
BTW: Adding mappings multiple times will result in strange behavior because Castor tries identify objects by their namespace if it finds multiple entries with the same name and fails because of bad namespace support within castor.
Referenced from: commits 73552ad