I have been running into this same type of problem. I have an input only binding that is trying to map 2 separate elements to the same class. I am getting the "Duplicate conversion" error when compiling the binding.
I can get rid of the compile time errors, by making the the mappings abstract and adding the force-classes="true" option to the binding, but my custome unmarshaller can't find the IUnmarshallers at run time. I have looked through the mail list and I have seen several comments that you are supposed to be able to map multiple elements to the same Object in an input only binding, but I don't seem to be able to get that to work. Any ideas? I am using JiBX v1.2.1 gufux wrote: > > So I think there isn't possible to assign to 2 different > mapping(global) the same class but with different element names.. (My > question was to find if this sentence is correct) > > There are situation the way of using abstract classes is good but if > I use a custom unmarshaller and I want to call the unmarshaller for > the 2 different elements I can't. > -- View this message in context: http://www.nabble.com/multiple-%3Cmapping%3E-definitions-for-the-same-class%2C-tp18216587p23428525.html Sent from the jibx-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users