[ http://jira.codehaus.org/browse/JIBX-136?page=comments#action_77035 ] Gerd.Kainz commented on JIBX-136: ---------------------------------
Recently I tried the second version contained in example 21 of the tutorial. The one which puts the marshaller and unmarshaller information directly on the structure element. This works fine, cause the generated code on the Entry element differs in the expected way. Moreover the problem seams to be caused by the fact, that I used java.lang.Object as the type of the field key. Inspection of several versions of generated code shows that this case is treated different in any case. It seams that in this case the class specific marshalling procedure assumes to find a Marshaller implementation as the value of this object.. This may be useful, if for example unmarshlling puts the reference to some marshaller there. However this could and should be tested, and it should be possible to put any kind of marshallable object into it. > ClassCastExeption from JIBX_binding_marshal.. > --------------------------------------------- > > Key: JIBX-136 > URL: http://jira.codehaus.org/browse/JIBX-136 > Project: JiBX > Issue Type: Bug > Reporter: Gerd.Kainz > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
