How to get validation control in elements following an unexpected element ?
In this document all element are mandatories, elementD'content data must a
positive integer :
<root>
<elementA/>
<elementB/>
<elementC/>
<elementD>-1</elementD>
</root>
for this, xmlbeans give the error for elementD : should be positive : that's ok
<root>
<elementA/>
<elementC/>
<elementD>-1</elementD>
</root>
For this xml (elementB removed), xmlbeans validation only tell me about
unexpected elementC and unexpected elementD instead of elementB, but no
validation message about invalid
content for elementD.
Validating the second xml with with xmllint (libxml) give the unexpected error,
and the elementD, is it possible with xmlbeans ?
thanks,
Olivier,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]