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

FR

    Table of contents

    Version as of 07:03, 27 Jun 2022

    to this version.

    Return to Version archive.

    View current version

     

    Attention :

    Cette page décrit un genre d'erreur en utilisant un exemple hypothétique.

    L'explication ne vise pas aux vos données de test en particulier.

    Néanmoins, vous pouvez suivre la méthode de diagnosis et correction.

    General description of the error:

    The format of the error message: cvc-pattern-valid: Value ''{0}'' is not facet-valid with respect to pattern ''{1}'' for type ''{2}''.

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

    Possible causes for this error:

    • The content of the element does not match the pattern which is defined for the element.

     

    An example

    <NbOfTxs>ONE</NbOfTxs>

     

     

    Error messageError cvc-pattern-valid: Value 'ONE' is not facet-valid with respect to pattern '[0-9]{1,15}' for type 'Max15NumericText'.

    How to fix: The reason for this error can be found out by examining the definition of 'Max15NumericText' from the schema definition and fixing the value of 'NbOfTxsto be valid against the definition. The definition of the element can be found also from the error message. In this example the pattern defined in the schema is [0-9]{1,15}, ie.e value of 'NbOfTxsmust be defined with 1 to 15 digits:

    <NbOfTxs>1</NbOfTxs> 

    Menu