Hello folks,
I'm dealing with an issue regarding a recurring integration with XML files. Basically the system blocks import of file before staging validation, showing the following log:
Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 17, position 15.
Apparently the problem is about the XML declaration and I'm experiencing the same error, no matter which files I try, in any sandbox environment. What is baffling though is that the very same recurring integration works fine in Live environment. All the data projects I'm using in the sandbox environments share the same data entity (custom), the same field mapping and the same middleware system for files enqueuing. We are even trying to import the same files uploaded in Live!
Since I cannot import XML files even in Prelive environment (meaning that, in this case, even the code base is identical to Live) my theory is that, maybe, some parameter or setup in Data management workspace or System administrator module gets canceled / lost during DB copying. However, so far, I couldn't detect any differences in setup between Prelive and Live.
Have you ever experienced a similar problem? Would you share any insight? I will also definitely open a support request to MS.
Kind regards
Gian Paolo