Table of contents
|Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.|
Element has child elements even thought schema defines it to be a simple element. In other words element can only contain value - not other elements.
If for example code element had been defined to be simple the following would cause this error:
Right format could be something like this:
Explanation of the error message given by the validator:
Where elem1 can not contain other elements but only values.