Hi,

 

I’m using the <bind-xml reference=”true”> attribute functionality to avoid duplicates while marshalling/unmarshalling a document containing the same object in different places in the content.

Unmarshalling works really fine when all the referenced objects are marshalled along with the references.

But once the referenced object is not found for a reference, unmarshall assigns NULL as value for this reference.

Wouldn’t it be possible to have an empty object with the object id (i.e. the reference attribute value) assigned instead.

Things are that sometimes it is not necessary to remarshall all the referenced objects because it has been done previously and objects are already available in a hashtable and can then be retrieved using their id.

 

Best regards,

Benjamin.

Reply via email to