O XMLBeans deve validar primeiramente o XSD (até podem existir parâmetros para fazer bypass das validações - é algo que ainda vou ler - mas não me interessa muito fazê-lo!).
O editor do ECLIPSE dá este erro, como já tinha dito:
Multiple annotations found at this line:
- cos-all-limited.2: The {max occurs} of an element in an 'all' model group must be 0 or 1. The value '-1' for
element 'DebitLine' is invalid.
- cos-all-limited.2: The {max occurs} of an element in an 'all' model group must be 0 or 1. The value '-1' for
element 'CreditLine' is invalid.
Portanto o erro é relativo a um "max occurs" dentro de um ALL model group!
↧