Hey People

Am still having trouble resolving the below issue.

Does anyone have any advice or pointers at all?

Cheers for your help

Jon

Jon Little wrote:
Hi

I have an object structure where the root object contains several collections of sub-objects.

The operation that we do most often is given an existing object, the incoming XML alters/updates attributes of the root or sub-objects in one of the contained collections.

This is done by calling ((IUnmarshallable) target).unmarshal(umc); where target is the existing and instantiation root object.

If the XML updates attributes of the root then there are no issues.

If the XML update adds new objects the one of the collections then there are no issues.

If the XML updates attributes of a sub-object in one of the contained collections then this is were problems begin. Upon unmarshalling Jibx creates a new object which is then added to the appropriate collection. _Rather_ than updating the existing sub-object in the appropriate collection.

Can anyone point me in the right direction for resolving this issue?

Thanks

Jon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to