Page last modified 13:19, 5 Aug 2013 by juhako

1828

    Table of contents
    No headers

    Version as of 04:25, 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.

    Example:

    1828.png

    In this case <PmtInfId> element is defined in the schema as simple type element which should only contain string value and not other elements. The error can be corrected by removing any child elements and giving valid value e.g.

    <PmtInfId>IDValue/88638</PmtInfId>

    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