Page last modified 08:31, 23 Jul 2010 by juhako


    Table of contents
    No headers

    Version as of 05:11, 28 Feb 2020

    to this version.

    Return to Version archive.

    View current version

    Error description:

    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:

    "Element 'elem1': Element content is not allowed, because the type definition is simple."

    Where elem1 can not contain other elements but only values.