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

1828

    Table of contents
    No headers

    Version as of 04:31, 14 Oct 2019

    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:

    <Cd>
      <Cstm>CODE</Cstm>
    </Cd>

    Right format could be something like this:

    <Cd>CODE</Cd>

    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.

     

    .

    Menu