This was just some overly-enthusiastic error checking. It should now be
fixed in CVS.
- Dennis
Thomas Nusko wrote:
The following does not bind any more with jibx-1.0RC0
(was ok with previous version):
<format type="java.util.Date" label="datevalue"
serializer="net.uniopt.ext.FormatSerializer.serializeDate"
deserializer="net.uniopt.ext.FormatSerializer.deserializeDate"
/>
<format type="java.util.Date" label="timevalue"
serializer="net.uniopt.ext.FormatSerializer.serializeTime"
deserializer="net.uniopt.ext.FormatSerializer.deserializeTime"
/>
<format type="java.util.Date" label="datetimevalue"
serializer="net.uniopt.ext.FormatSerializer.serializeDateTime"
deserializer="net.uniopt.ext.FormatSerializer.deserializeDateTime"
/>
produces the following error:
[bind] Error: Duplicate conversion defined for type java.util.Date for
format element at (line 10, col 4, in bin/binding.xml)
[bind] Error: Duplicate conversion defined for type java.util.Date for
format element at (line 14, col 4, in bin/binding.xml)
I cannot see any reason why not to use this. If it's no longer allowed,
what is best to do instead?
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users