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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error when creating XML Metadata

Hello.

I am brand new in this community as a new Talend user.

I am trying to create XML Metadata.

To do this, I select a basic existing xml file and I define target schema.

But when I try to refresh preview. Error pop-up displays and say that preview failed, and that errors are generally due to incorrect encoding.

My file is correctly encoded in UTF-8. I tried to create XML Metadata on a colleague's computer and that was successful. 

Is there any possible root cause ? 

 

Here is the XML file content :

<?xml version="1.0" encoding="UTF-8"?>
<ROOT_TAG>
<TEST MSG="1"/>
</ROOT_TAG>

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

Could you please indicate on which talend build version you got this issue? Are you installing JDK 1.8?

Best regards

Sabrina

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hello,

Could you please indicate on which talend build version you got this issue? Are you installing JDK 1.8?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello.
Thanks for your answer.

You're right. This was a java issue. And it is now fixed.
I set Java 1.8 bin path in path variable of my computer.

And then, it was still not OK. It seems that Talend uses Java 1.7 by default. So I modified TOS_DI-win32-x86.ini to force Talend to plug with Java 1.8. I added these lines :

-vm C:\Program Files\Java\jdk1.8.0_45\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8

 

 

Anonymous
Not applicable
Author

Hello,

Or you can check your Talend Studio : Preferences--->Talend—>Java interpreter and specify it directly to your 1.8 JDK location.

Best regards

Sabrina

Anonymous
Not applicable
Author

hello 

i m trying to have in output xml file and some of my filed in xml should incremental and i didn't know what can do if any one could help Smiley Happy thank u .


TEST.txt