Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Content not allowed in prolog

Hi,
while i am trying to create a connection for XML file by using
metadata while importing the file i am getting the error called
content not allowed in prolog can any one plz help me in this
regard.
Thanks,
Siddeshwar
Labels (3)
3 Replies
Anonymous
Not applicable

Hello Siddeshwar
Normally, this error message indicates that there is some non-xml
present before the xml starts.
See article.
Best regards

shong
_AnonymousUser
Specialist III
Specialist III
Author

Hello,
i have the same issue after changed from TOS32RC1 to TOS411.
All Jobs that reads a XML file - same problem.
All Jobs works without problems on TOS32RC1.
This is the header of one XML:
<?xml version="1.0" encoding="utf-8" ?>
<!-- EXPORT 29/11/10 -->
<DataRecordCollection>
<eventItem>

</eventItem>
</DataRecordCollection>
Everything fine or is it a bad formed xml?
Is this a known bug?
_AnonymousUser
Specialist III
Specialist III
Author

Hello Sebastian1234,
i answer myself:
The new Version 4.1.1 do not handle a xml File in UTF-8 WITH BOM.
You must convert in a xml File UTF8 WITHOUT BOM.
This ist very easy with advanced editors like notpad++...
I do not know why the TOS32RC1 handle a both encodings...
Sebastian1234