Skip to Main Content
Status Completed
Categories Bug
Created by Matias Noe
Created on Oct 15, 2024

XML Message fails when it begins with a comment

We have a VAN provider that sometimes sends files that have a comment right after the XML Declaration.


  • When we receive such messages, Link fails to process them.

  • If we manually remove the comment and process the files, Link processes them corretly.

According to XML Specification, after the XML Declaration it is possible to have such comments. See first example here: https://www.tutorialspoint.com/xml/xml_comments.htm


I have tried to attach a sample file but the platform here did not allow it, so here's a sample of how the message begins:

<?xml version="1.0" encoding="utf-8"?>

<!--Buum5-->

<E-Document>


  • Attach files
  • Admin
    Mikkel B. Mikkelsen
    Reply
    |
    Oct 24, 2024

    @Guest - can you give a direct link to a failed document? Just so we easily can find out where in the flow it fails. Thanks :)