Table of contents
Element has child elements but it is defined in the schema 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.