Value is too long.

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.



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.:


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.