Page last modified 12:59, 5 Aug 2013 by juhako

1828

    Table of contents
    No headers

    Version as of 04:32, 14 Oct 2019

    to this version.

    Return to Version archive.

    View current version

    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.

     

    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:

    <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