Hi,
I have a question regarding the validation of an XML file myfile.xml
against his schema myfile.xsd,
through the validate() method with XMLbeans:
If in my XSD schema file, I specified this order:
<father>
<child1></child1>
<child2></child2>
<child3></child3>
</father>
And that I want to validate this XML file (child3 is before child2):
<father>
<child1>aa</child1>
<child3>cc</child3>
<child2>bb</child2>
</father>
The validate() method says that child2 is expected but not found.
So, in other words, it seems that order matters when validating an XML
file against a schema: am i right or wrong ?
Thanks for your answers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]