Page last modified 21:36, 22 Jun 2015 by VeeKhong


    Table of contents


    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-datatype-valid.1.2.1: ''{0}'' is not a valid value for ''{1}''.

    Error description in schema standard:

    Possible causes for this error:

    • Field value is not the type which is defined for the element. For example a text value is used when field type is defined as decimal.


    An example




    Error message: Error cvc-datatype-valid.1.2.1: 's' is not a valid value for 'decimal'

    How to fix: In this example a correct type value should be used by replacing text value with a decimal value.




    An example of Date/Time

    Valid formats for xs:dateTime are e.g.: