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: 
Anonymous
Not applicable

tXSDValidator - Content is not allowed in prolog

Hi,
I have designed a job (SOAP service) that accepts an XML as the request. I would like to validate the input XML against an XSD file so I am using the tXSDValidator component (Only testing with one column at the moment).
But whenever I send a SOAP request (Using the soapUI perspective in Talend Studio), I get the "There is a Fatal Error on line 1 : Content is not allowed in prolog." error.
I would appreciate if you kindly help me solve this issue.

0683p000009MB9Q.png
0683p000009MB1n.png
0683p000009MAed.png
0683p000009MB9a.png
Thanks
Labels (5)
2 Replies
Anonymous
Not applicable
Author

The message points to the actual problem. There is some character which is not allowed. Sometimes it is a BOM (Byte Order Mark) at first byte in your XML. A BOM is ofter not visible. I would use a different editor like TextWrangler to edit the SOAP request.
Some editors sets this BOM as first char to the text if you have as encoding UTF-8.
Anonymous
Not applicable
Author

Thanks jlolling for your input.