Page last modified 19:24, 6 Aug 2021 by Antero

markupnotrecognizedinmisc

    Version as of 22:14, 21 Jan 2022

    to this version.

    Return to Version archive.

    View current version

    Please note! 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: The content of elements must consist of well-formed character data or markup.

    Meaning of error: Element or tag structure is not considered to be well-formed and service is not able to parse given content as XML.

    Possible causes for this error:

    • Element contains two root elements
    • Tag consists of a non-allowed (first) character. Further reading at w3.org        

    Example

        <Payload1>
            <Data>123</Data>
        </Payload1>
        <Payload2>
            <Data>123</Data>
        </Payload2>

     

     

     

     

     

    Error message: (MarkupNotRecognizedInMisc) The markup in the document following the root element must be well-formed.

    How to fix: Ensuring that all content is under one root element only.

    <Root>
        <Payload1>
            <Data>123</Data>
        </Payload1>
        <Payload2>
            <Data>123</Data>
        </Payload2>
    </Root>

      

    Menu