Page last modified 10:00, 19 Oct 2016 by Jussi

cvc-type-3-1-3

    Table of contents

    Version as of 04:35, 14 Oct 2019

    to this version.

    Return to Version archive.

    View current version

     

    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-type.3.1.3: The value ''{1}'' of element ''{0}'' is not valid.

    Error description in schema standard: http://www.w3.org/TR/2007/WD-xmlschema11-1-20070830/#cvc-type

    Possible causes for this error:

    • The content of the element does not match the element type definition or pattern.

     

    Example 1

    <BtchBookg>filse</BtchBookg>

     

     

    Error messageThe value 'filse' of element 'BtchBookg' is not valid.

    How to fix: You have to check the schema definition to see which restrictions are set for the element to be able to fix the issue. If there are other schema error messages related to same element, check those also - they might give more hints on how to fix the error. In this case the value of PmtMtd should be one of pre-defined enumeration values of TRF, TRA or CHK.

     

    Example 2

    <PmtMtd>AAA</PmtMtd

     

     

    Error messageError cvc-type.3.1.3: The value 'AAA' of element 'PmtMtd' is not valid.

    How to fix: You have to check the schema definition to see which restrictions are set for the element to be able to fix the issue. If there are other schema error messages related to same element, check those also - they might give more hints on how to fix the error. In this case the value of PmtMtd should be one of pre-defined enumeration values of TRF, TRA or CHK.

    <PmtMtd>TRF</PmtMtd>
    Menu