<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XML Schema validation in Talend ESB 8.0.1 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2425418#M140271</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to use a schema validation in my talend route like this (cMessagingEndpoint)&lt;/P&gt;
&lt;P&gt;"validator:xsd/myschema.xsd"&lt;/P&gt;
&lt;P&gt;This works in the Talend 8 studio, but deploying it to the Talend runtime generates an error:&lt;/P&gt;
&lt;P&gt;Blueprint Event Dispatcher: 1 | rocessor.validation.SchemaReader 186 | 144 - org.apache.camel.camel-xml-jaxp - 3.11.1 | Property '&lt;A href="http://javax.xml.XMLConstants/property/accessExternalDTD" target="_blank" rel="noopener"&gt;http://javax.xml.XMLConstants/property/accessExternalDTD&lt;/A&gt;' is not recognized.&lt;BR /&gt;org.xml.sax.SAXNotRecognizedException: Property '&lt;A href="http://javax.xml.XMLConstants/property/accessExternalDTD" target="_blank" rel="noopener"&gt;http://javax.xml.XMLConstants/property/accessExternalDTD&lt;/A&gt;' is not recognized.&lt;/P&gt;
&lt;P&gt;The same route works in Talend 7.3.1. There I had to add a cConfig component for deployment with the following code:&lt;/P&gt;
&lt;P&gt;//Fix for XSD bug on deployment&lt;BR /&gt;java.util.Map&amp;lt;String, String&amp;gt; properties = new java.util.HashMap&amp;lt;String, String&amp;gt;(); &lt;BR /&gt;properties.put("CamelXmlValidatorAccessExternalDTD", "true"); &lt;BR /&gt;camelContext.setProperties(properties);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to make it work in Talend 8 ?&lt;/P&gt;
&lt;P&gt;Regards, Marius&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 15:42:51 GMT</pubDate>
    <dc:creator>mgoedhart</dc:creator>
    <dc:date>2024-02-29T15:42:51Z</dc:date>
    <item>
      <title>XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2425418#M140271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to use a schema validation in my talend route like this (cMessagingEndpoint)&lt;/P&gt;
&lt;P&gt;"validator:xsd/myschema.xsd"&lt;/P&gt;
&lt;P&gt;This works in the Talend 8 studio, but deploying it to the Talend runtime generates an error:&lt;/P&gt;
&lt;P&gt;Blueprint Event Dispatcher: 1 | rocessor.validation.SchemaReader 186 | 144 - org.apache.camel.camel-xml-jaxp - 3.11.1 | Property '&lt;A href="http://javax.xml.XMLConstants/property/accessExternalDTD" target="_blank" rel="noopener"&gt;http://javax.xml.XMLConstants/property/accessExternalDTD&lt;/A&gt;' is not recognized.&lt;BR /&gt;org.xml.sax.SAXNotRecognizedException: Property '&lt;A href="http://javax.xml.XMLConstants/property/accessExternalDTD" target="_blank" rel="noopener"&gt;http://javax.xml.XMLConstants/property/accessExternalDTD&lt;/A&gt;' is not recognized.&lt;/P&gt;
&lt;P&gt;The same route works in Talend 7.3.1. There I had to add a cConfig component for deployment with the following code:&lt;/P&gt;
&lt;P&gt;//Fix for XSD bug on deployment&lt;BR /&gt;java.util.Map&amp;lt;String, String&amp;gt; properties = new java.util.HashMap&amp;lt;String, String&amp;gt;(); &lt;BR /&gt;properties.put("CamelXmlValidatorAccessExternalDTD", "true"); &lt;BR /&gt;camelContext.setProperties(properties);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to make it work in Talend 8 ?&lt;/P&gt;
&lt;P&gt;Regards, Marius&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 15:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2425418#M140271</guid>
      <dc:creator>mgoedhart</dc:creator>
      <dc:date>2024-02-29T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426353#M140288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please try to &lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="4130:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="4128:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;deny reference to external schemas &lt;/SPAN&gt;&lt;/SPAN&gt;to see if it works?&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="4130:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="4128:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;You could set system property "javax.xml.accessExternalSchema=false" to deny references to external schemas;&lt;BR /&gt;System property can be set in Runtime configuration file "{runtime}/etc/system.properties"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="4130:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="4128:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Feel free to let us know if it helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="4130:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="4128:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="slds-grid slds-grid--align-spread" data-aura-rendered-by="4130:0"&gt;&lt;SPAN class="forceListViewManagerGridWrapText uiOutputText forceListViewManagerGridWrapText" data-aura-rendered-by="4128:0" data-aura-class="uiOutputText forceListViewManagerGridWrapText"&gt;Sabrina&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 05:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426353#M140288</guid>
      <dc:creator>Xiaodi_Shi</dc:creator>
      <dc:date>2024-03-04T05:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426485#M140291</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for your response&lt;/P&gt;
&lt;P&gt;Unfortunately that system property didn't work. The same error occurs.&lt;/P&gt;
&lt;P&gt;I have added the full error in the attachment test.log&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 09:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426485#M140291</guid>
      <dc:creator>mgoedhart</dc:creator>
      <dc:date>2024-03-04T09:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426855#M140293</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please let us know if this official support article helps?&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.qlik.com/t5/Official-Support-Articles/Property-http-javax-xml-XMLConstants-property-accessExternalDTD/ta-p/2150475" href="https://community.qlik.com/t5/Official-Support-Articles/Property-http-javax-xml-XMLConstants-property-accessExternalDTD/ta-p/2150475" target="_self"&gt;https://community.qlik.com/t5/Official-Support-Articles/Property-http-javax-xml-XMLConstants-property-accessExternalDTD/ta-p/2150475&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 00:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426855#M140293</guid>
      <dc:creator>Xiaodi_Shi</dc:creator>
      <dc:date>2024-03-05T00:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426955#M140295</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I just noticed that it's a warning. Not an error &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; apologies.&lt;/P&gt;
&lt;P&gt;Unfortunately the official support article doesn't suppress the warning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will also respond to that article&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 08:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2426955#M140295</guid>
      <dc:creator>mgoedhart</dc:creator>
      <dc:date>2024-03-05T08:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: XML Schema validation in Talend ESB 8.0.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2427594#M140311</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To suppress these warnings in &lt;STRONG&gt;Talend ESB 8&lt;/STRONG&gt; so that they don't fill up the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tesb.log&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;files, edit the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;RUNTIME-HOME&lt;/EM&gt;/etc/org.ops4j.pax.logging.cfg&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;file and add the following lines:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;log4j2.logger.validatingProcessor.name = org.apache.camel.support.processor.validation.ValidatingProcessor
log4j2.logger.validatingProcessor.level = ERROR

log4j2.logger.schemaReader.name = org.apache.camel.support.processor.validation.SchemaReader
log4j2.logger.schemaReader.level = ERROR&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 08:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XML-Schema-validation-in-Talend-ESB-8-0-1/m-p/2427594#M140311</guid>
      <dc:creator>mgoedhart</dc:creator>
      <dc:date>2024-03-06T08:58:54Z</dc:date>
    </item>
  </channel>
</rss>

