cvc-fractiondigits-valid

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.

General description of the error:

The format of the error message: cvc-fractionDigits-valid: Value ''{0}'' has {1} fraction digits, but the number of fraction digits has been limited to {2}.

Error description in schema standard: http://www.w3.org/TR/2006/WD-xmlschema11-2-20060217/datatypes.html#cvc-fractionDigits-valid

Possible causes for this error:

  • Element value has too many digits in the fraction part.

An example

<InstdAmt Ccy="CCY">3.1415922222222</InstdAmt>

Error message: Error cvc-fractionDigits-valid: Value '3.1415922222222' has 13 fraction digits, but the number of fraction digits has been limited to 5.

How to fix: This issue can be fixed by removing the extra digits from the value.

<InstdAmt Ccy="CCY">3.14159</InstdAmt>