Binding does not handle multiple occurences of TypedArrayMapper
---------------------------------------------------------------
Key: JIBX-401
URL: http://jira.codehaus.org/browse/JIBX-401
Project: JiBX
Issue Type: Bug
Components: BindGen, core
Affects Versions: JiBX 1.2.2
Reporter: Jens Hausherr
Attachments: ArticleVOArrayMapper.java, binding.xml,
StyleVOArrayMapper.java
When defining the JiBX TypedArrayMapper for two Arrays to be mapped using
different element names, only the element name of the first definition is used
(see included binding.xml).
Reverting the order of the definitions in the binding yielded in the same
effect (i.e. using the now first defintion).
The marshalled beans are plain JavaBeans so they should not have any effect in
this.
A working qick fix is to implement mapper extending Typed ArrayMapper (see
attached) so I suspect the problem is located somewhere in the binding
compilation and/or the marshaller management.
--
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
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs