Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
SophieB
Contributor
Contributor

XML metadata and context

Hello,

I have a problem in Talend when I want to create matadata for xml files.
When I want to create a new XML metadata on input XML, I have to choose a file path and then, encoding is automatically generated.

SophieB_1-1707126164379.png

On the next step, I can export my parameters as context. But if I want to create 10 differents xml files with the same filePath but different XPathQuery, I will have to create 10 contexts. So I can reuse an exististing context.

SophieB_2-1707126317277.png

But If I use an existing context, there is a bug. I choose the field "path" and "encoding"

SophieB_3-1707126387598.png

When it's validated, the xPathQuery is ok. But not the file path nor the encoding which should be like "context.Encoding_utf8"

SophieB_5-1707126492080.png

 

SophieB_4-1707126428392.png

How could I do that without having 10 differents contexts with 10 same encoding variable ?

 

Thank you for your help.

Labels (1)
1 Solution

Accepted Solutions
Shicong_Hong
Support
Support

Hi 

It looks like a bug, I can reproduce the issue "using an existing context variable does not work for the file path and encoding fields in previous window". Please open a Jira issue to R&D team for further investigation. 

Regards

Shong

View solution in original post

1 Reply
Shicong_Hong
Support
Support

Hi 

It looks like a bug, I can reproduce the issue "using an existing context variable does not work for the file path and encoding fields in previous window". Please open a Jira issue to R&D team for further investigation. 

Regards

Shong