cvc-maxinclusive-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-maxInclusive-valid: Value ''{0}'' is not facet-valid with respect to maxInclusive ''{1}'' for type ''{2}''.

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

Possible causes for this error:

  • Value given for element is too big compared to allowed maximum value. maxInclusive specifies the upper bounds for numeric values: the value must be less than or equal to this value.

An example

<SeqNb>4</SeqNb>

Error message: Error cvc-maxInclusive-valid: Value '4' is not facet-valid with respect to maxInclusive '3.0' for type 'Number'.

How to fix: Value given for 'maxInclusive' field must be less than or equal to the defined maximum value. In this case for example value "3"  is accepted because it is equal to "3".

<SeqNb>3</SeqNb>