cvc-complex-type.2.4.b

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:

cvc-complex-type.2.4.b: The content of element ''{0}'' is not complete. One of ''{1}'' is expected.

Error description in schema standard: http://www.w3.org/TR/2007/WD-xmlsche...c-complex-type

Possible causes for this error:

  • Child elements are missing from the element
     

 An example

<Dbtr>
  <Id></Id>.
</Dbtr>

Error messageError cvc-complex-type.2.4.b: The content of element 'Id' is not complete. One of '{"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03":OrgId, "urn:iso:std:iso:20022:tech:xsd:pain.001.001.03":PrvtId}' is expected.

 

<Dbtr>
  <Id>

    <OrgId>
      <Othr>
        <Id>123</Id>
      </Othr>
    </OrgId>  
  </Id>

</Dbtr> 

How to fix: This issue can be fixed by using one of the elemnts suggested by the error message. Further information can be found from the schema defining the message.