Page last modified 16:49, 15 Oct 2013 by kari_admin

76

    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:

    The XML file is not well-formed. Tags are not correctly nested or tag is opened and closed with different tag-name, check for typing mistakes.

    Example 1:

    76.png

    Here the attribute Ccy of element <InstdAmt> is missing the closing quotation mark which is causing the parsing to fail. This can be fixed by adding the missing quotation mark.

    Example 2:

    For example this XML would produce the error.

    <company>
        <name>XMLDation.com
    </company>
        </name>

    In the example <name> element is a child element of <company> but the closing tag of </name> comes after the closing tag of </company>. Correct way to present this would be:

    <company>
        <name>XMLDation.com</name>
    </company>

     

     

    Explanation of the error message given by validator:

    Opening and ending tag mismatch: tag1 line 38 and tag2

    Where tag1 starting at line 38 and tag2 is the position where the error is noticed.

    Menu