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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
talenduser12345
Contributor
Contributor

xsi:noNamespaceSchemaLocation

Hello,

I'm using Talend Open Studio. Is there a way to have a namespace added to xsi. Currently I am seeing: xsi:noNamespaceSchemaLocation="deafultname.xsd". Is there a way that can be changed to xsi:SchemaLocation="defaultname.xsd" rather than saying noNamespace?

0695b00000lys0DAAQ.png

Labels (3)
1 Reply
Anonymous
Not applicable

Hi

You can't change this attribute directly in the job, need to modify the source code of component, the source code of component is located in <studio installation directory>\plugins\org.talend.designer.components.localprovider_8.0.1.20211104_0248\components\tAdvancedFileOutputXML. To do:

1- Open the file tAdvancedFileOutputXML_end.javajet,

2- Edit this line

doc_<%=cid%>.getRootElement().addAttribute("xsi:noNamespaceSchemaLocation", file_<%=cid%>.substring(file_<%=cid%>.lastIndexOf("/")+1)+".xsd");

3- Save the file and restart Studio.

 

Regards

Shong