Re: Problem about generating Java Source Code with XMLBeans from xsd

2013-11-06 Thread Federico Rossetti
Hi Cezar First of all thanks for your quick response. If I understand correctly, using SubInfo.xsetNome with Testo70Custom object as parameter, I still have to call the “validate” method to check if the message is correct against the xsd, is it true? What I wanted to do was something differen

Re: Problem about generating Java Source Code with XMLBeans from xsd

2013-11-05 Thread Cezar Andrei
Federico, The schema looks fine, if you look closely at SubInfo type def:

Problem about generating Java Source Code with XMLBeans from xsd

2013-11-05 Thread Federico Rossetti
Hi all i have a starting xsd no editable, from which to generate the Java source code with XMLBeans. My problem is on the generated java class SubInfo.java. In the xsd, the element “Nome”, child of the element “SubInfo”, has as type “Testo70Custom”, but in the generated java code the type is “T