Hello,

I'm using succesfully jibx to marshall an object graph. It requires a custom marshaller as my XML makes references to elements comming next in XML (backFillReference) :

<model>
    <table name="TABLE_1">
       <relation name="RELATION_1">
         <target ref="TABLE_2"/>
       </relation>
    </table>
    <table name="TABLE_2"/>
</model>


This works fine using this element based syntax.
I now would like to use an attribute based syntax, something like this :

<model>
    <table name="TABLE_1">
       <relation name="RELATION_1" target="TABLE_2"/>
    </table>
    <table name="TABLE_2"/>
</model>


It seems the marshaller/unmarshaller attributes are not allowed on <value> element. Only serializer/deserializer can be set, but I can't register a backFillReference from a serializer as it doesn't have access to the UnmarshallingContext.

Is there any solution to register backFillReference from a deserializer OR use a unmarshaller with <value> ?

Nico.



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to