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

Error within XML-metadata creation process - HELP

Hello community,

I want to map a XML-File to a CSV-File with Talend Open Studio for Data Integration but I've got a problem within the XML-metadata creation process. I use a simple XML-File with UTF-8 encoding.
To create the metadata file I follow these steps (These steps out of the book "Getting Started with Talend Open Studio for Data Integration by Jonathan Bown"):

Repository -> Meta-Data -> XML-File -> create XML-File -> Input XML -> Select File -> Encoding UTF-8 -> Select the XPath Loop Expression and the fields

Then when I click on "Refresh Preview" I receive an error message:
"Preview error. Some settings must be changed. Note: Preview errors are generelly due to wrong encoding setting."
What's the problem?

Thanks
Marc

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi Marc

It might be the type of encoding. In e.g. Notepad++ files are distinguished in UTF-8 with or without BOM. As I recall, Talend prefers without 🙂

See the attached screenshot from Notepad++:
Anonymous
Not applicable
Author

Hello Lise,

thank you very much for your message.
I solved the problem by running Talend Open Studio for Data Integration as an administrator.

Marc
Anonymous
Not applicable
Author

hi,


I solved the problem by running Talend Open Studio for Data Integration as an administrator


It's not a good thing to run as admin.
Create a Talend workspace like c:/Talend where you don't need to be admin to create/modify files.

regards