Hi,
I have the following error; I do not understand what does this mean:
>>>>>>>>>>>>>>>>
[java] Error: test-method needed for multiple instances of same type in
unordered collection for structure element at (line 77, col 49, in
MyBinding.xml)
[java] Error: test-method needed for multiple instances of same type in
unordered collection for structure element at (line 78, col 53, in
MyBinding.xml)
[java] Error running binding compiler
[java] org.jibx.runtime.JiBXException: Binding MyBinding.xml is unusable
because of validation errors
[java] at org.jibx.binding.Utility.loadBinding(Utility.java:360)
[java] at org.jibx.binding.Utility.loadFileBinding(Utility.java:388)
[java] at org.jibx.binding.Compile.compile(Compile.java:296)
[java] at org.jibx.binding.Compile.main(Compile.java:384)
>>>>>>>>>>>>>>
The corresponding part from the binding file (generated by xsd2jibx):
<mapping class="org.biohegedus.biodb.bindings.NameListType" abstract="true">
<namespace uri="http://biohegedus.org/biodb/bindings" default="elements"/>
<collection field="choiceList" ordered="false">
<structure name="person" usage="optional"></structure>
<structure name="consortium" usage="optional"></structure>
</collection>
</mapping>
Thanks for suggestions,
Tamas
--
Tamas Hegedus, PhD | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax: (1) 919-966 5178
5007A Thurston-Bowles Bldg | mailto:[EMAIL PROTECTED]
Chapel Hill, NC, 27599-7248 | http://biohegedus.org
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users