- Knowledgebase
- XML Schema
- Element Value
-
Glossary
-
XML / ISO 20022 Standard
-
ISO 20022 Messages
-
XML Schema
- Miscellaneous
- Attribute
- Closing Tag
- Comment
- Content
- Cvc-complex-type
- Cvc-elt
- Cvc-id
- Cvc-identity-constraint
- Cvc-minexclusive-valid
- Cvc-mininclusive-valid
- Cvc-type
- Cvc-totaldigits-valid
- Cvc-attribute
- Cvc-datatype-valid
- Maximum Length
- Cvc-enumeration-valid
- Cvc-fractiondigits-valid
- Cvc-length-valid
- Cvc-maxexclusive-valid
- Cvc-maxinclusive-valid
- Cvc-maxlength-valid
- Cvc-minlength-valid
- Cvc-pattern-valid
- Element Value
- Encoding
- Length
- Mandatory element
- Missing
- Missing Tag
- Missing Child Element
- MIXD
- Root
- Unsupported Characters
- UTF-8
- Value
- Wrong Declaration
-
EPC SEPA
-
CGI-MP
-
US ACH (Nacha)
-
SWIFT MT
-
Finvoice
-
Bank-Specific
-
XMLdation Service Guides
-
Studio Guide
-
Simulator
1832
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.
Example:
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.