Page last modified 12:52, 1 Apr 2014 by jukkam

cvc-type-2

    Table of contents
    No headers

    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 messagecvc-type.2: The type definition cannot be abstract for element {0}.

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

    Possible causes for this error:

    • The definition of an element used in the XML file is defined in the schema as "abstract". This means that an element cannot use this complex type directly but must use a complex type derived from this complex type. 

    An example

    <Document>
      <Action>ACTIONTYPE</Action>
    </Document>

     

     

     

     

    Error messageError cvc-type.2: The type definition cannot be abstract for element action.

    How to fix: Check the schema to see which elements are allowed to be used.

    Menu