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

1832

    Table of contents
    No headers

    Version as of 16:34, 24 Sep 2020

    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:

    Value is too long. There is a maximum length defined to the value of the element and the length of given value is longer than that.

    Example:

    1832.png

    In this example the <Cd> element under <SvcLvl> contains too long value. The length of the value is 5 characters, but the maximum lenght for the value is defined in the schema to be 4. This error can be fixed by giving a value maximum of 4 characters long, e.g.:

    <SvcLvl>
      <Cd>SEPA</Cd>
    </SvcLvl>

    Explanation of the error message given by the validator:

    "Element 'Elem1': [facet 'maxLength'] The value has a length of 'xx'; this exceeds the allowed maximum length of 'yy'."

    Where Elem1 is the element which has too long value. xx is the current length of the element and yy is the maximum number of characters specified in the schema for this element.

    Menu