Page last modified 12:44, 28 Nov 2013 by juhako


    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.


    Error description:
    An XML document is only allowed to have one root element in order to be well-formed. Make sure that the tag your document starts with is not closed until the end of the document.

    There could also be some other extra content at the end of the document, for example characters or non-printable control characters. If it seems like there is not any extra content at the end of the document you may need to use hex-editor to see possible control characters.


    According to ISO 20022 payments initiation message standard the document root element is <Document>A rough example of the structure of an ISO 20022 payments message:    

    <Document> <!-- Root element started -->
        <GrpHdr>Group Header elements here</GrpHdr>
          Payment Information elements here
          <CdtTrfTxInf>Credit Transfer Transaction Information elements here</CdtTrfTxInf>
    </Document> <!-- Root element closed -->

    Error message given by the service:
    "Extra content at the end of the document."