Page last modified 13:09, 12 Sep 2012 by Antero


    Table of contents
    No headers

    Version as of 22:10, 22 Feb 2020

    to this version.

    Return to Version archive.

    View current version

    Error description:

    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:

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

    Where elem1 can not contain other elements but only values.

    invalid Primary: /content/body/pre, line 12, column 17 (click for details)