XML / ISO 20022 Standard
ISO 20022 Messages
- Closing Tag
- Maximum Length
- Element Value
- Mandatory element
- Missing Tag
- Missing Child Element
- Unsupported Characters
- Wrong Declaration
US ACH (Nacha)
XMLdation Service Guides
Value is too short.
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.
Value is too short. There is a minimum length defined to the value of the element and the length of given value is shorter than that.
The same error occurs if minimum length is defined and there is no value given, in other words the element is empty.
In the example, the value in the <Cd> element must be at least 1 character long. So this error could be fixed by giving a value to the element e.g.
Explanation of the error message given by the validator:
Element 'elem1': [facet 'minLength'] The value has a length of 'X'; this underruns the allowed minimum length of 'Y'.
Where element elem1 is the element which has too short value or it is empty, X is the current length of the value and Y is the defined minimun value.