Can you give some details of the "configurations" field and the
"setConfigurations()" method signature? I'll make sure it gets corrected
for RC1 if you do.
- Dennis
Venkatesh Prasad Ranganath wrote:
<mapping name="compositeConfiguration" class="edu.ksu.cis.indus.tools.CompositeToolConfiguration"
ns="http://indus.projects.cis.ksu.edu/indus">
<collection field="configurations" item-type="edu.ksu.cis.indus.tools.slicer.SlicerConfiguration"
factory="edu.ksu.cis.indus.tools.CompositeToolConfiguration.createConfigurations"
set-method="setConfigurations"/>
<value style="attribute" name="activeConfiguration" set-method="setActiveToolConfigurationID"
get-method="getActiveToolConfigurationID" ns="http://indus.projects.cis.ksu.edu/indus"/>
</mapping>
For the above mapping, the "bleeding edge" version of the binding compiler
chokes with the following error.
Error: Nonstatic set-method setConfigurations with argument of appropriate type
not found in class edu.ksu.cis.indus.tools.CompositeToolConfiguration for
collection element at (lin
e 8, col 36, in slicerConfig_JiBXBinding.xml)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding slicerConfig_JiBXBinding.xml is
unusable because of validation errors
at org.jibx.binding.Utility.loadBinding(Unknown Source)
at org.jibx.binding.Utility.loadFileBinding(Unknown Source)
at org.jibx.binding.Compile.compile(Unknown Source)
at org.jibx.binding.Compile.main(Unknown Source)
This used to work fine with pre RC versions.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users