Re: [jibx-users] Collection difficulty

2008-10-04 Thread Quecas
Hi Dennis Thank you for the suggestion, I will try it out today - looking at it makes perfect sense. Thanks Jorge DSosnoski wrote: > > Hi Jorge, > > That exception text is wrong in this case. From looking at the actual > code generation, you'd get this error when the items in an ordered >

Re: [jibx-users] Collection difficulty

2008-09-25 Thread Dennis Sosnoski
Hi Jorge, That exception text is wrong in this case. From looking at the actual code generation, you'd get this error when the items in an ordered collection (like yours) are out of order. From looking at your first email, you appear to have a repeating sequence rather than just repeating ele

Re: [jibx-users] Collection difficulty

2008-09-25 Thread Quecas
Ok, I've managed to jibx comiple my mapping definition. Marshaling is also working, but only for 1 iteration of the collection. As soon as I iterate more than once, an exception is thrown; "org.jibx.runtime.JiBXException: Collection item of type Type1 has no binding defined". my binding now looks

[jibx-users] Collection difficulty

2008-09-25 Thread Jorge Cercas
Hi all, I have just started using jibx since I would like to (possibly) change from jaxb. I am having difficulty defining a mapping to correspond to a customers schema, especially a collection to a sequence that houses repeating elements, e.g. aaa (required) bbb (required) ccc (optional) ddd (r