elementunterminated

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: Element type \"{0}\" must be followed by either attribute specifications, \">\" or \"/>\".

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

Possible causes for this error:

  • Element does not have a closing tag
  • Data within element contains character <, for example <Nm>Na<me</Nm>
  • Element attribute starts with an invalid character, for example <InstdAmt 0Ccy="JPY">10000000</InstdAmt>

Example

<Id>
          <OrgId
            <Othr>
              <Id> 222010012</Id>
            </Othr>
          </OrgId>
        </Id>

Error message: Fatal Error ElementUnterminated : Element type "OrgId" must be followed by either attribute specifications, ">" or "/>".

How to fix: Element can be fixed by adding > into closing tag of OrgId.

      <Id>
          <OrgId>
            <Othr>
              <Id> 222010012</Id>
            </Othr>
          </OrgId>
        </Id>