<?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 Re: Handling Schema Mismatch Exceptions in Talend XML Processing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Handling-Schema-Mismatch-Exceptions-in-Talend-XML-Processing/m-p/2501658#M141711</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If you want to escape the exception when processing your XML, you can use the solution proposed in this post.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design-and-Development/If-one-Excel-file-fails-how-does-the-job-not-stop-and-continue/td-p/2500309" target="_blank"&gt;https://community.qlik.com/t5/Design-and-Development/If-one-Excel-file-fails-how-does-the-job-not-stop-and-continue/td-p/2500309&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2025 17:48:30 GMT</pubDate>
    <dc:creator>Dave_Simo</dc:creator>
    <dc:date>2025-01-16T17:48:30Z</dc:date>
    <item>
      <title>Handling Schema Mismatch Exceptions in Talend XML Processing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-Schema-Mismatch-Exceptions-in-Talend-XML-Processing/m-p/2501657#M141710</link>
      <description>&lt;P&gt;In my Talend job, I am processing XML files from a directory using a &lt;CODE&gt;tFileInputXML&lt;/CODE&gt; component. The issue is that the directory may contain XML files with different schemas. When the job tries to process a file with an unexpected schema, it throws an exception, causing the entire job to fail.&lt;/P&gt;
&lt;P&gt;I cannot filter the files in advance using &lt;CODE&gt;tFileList&lt;/CODE&gt; because I do not have the file names or any predefined criteria to identify the incompatible files beforehand.&lt;/P&gt;
&lt;P&gt;What I need is for Talend not to stop. I want to catch the exception when it occurs (for example, using a &lt;CODE&gt;tLogCatcher&lt;/CODE&gt; or similar component) and continue processing the rest of the files without stopping the entire job.&lt;/P&gt;
&lt;P&gt;The error is as follows (it occurs in the &lt;CODE&gt;tXMLMap&lt;/CODE&gt; when trying to map):&lt;BR /&gt;&lt;CODE&gt;Exception in component tXMLMap_1_TXMLMAP_OUT (handlingError) java.lang.RuntimeException: row3.content can't be empty&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 17:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-Schema-Mismatch-Exceptions-in-Talend-XML-Processing/m-p/2501657#M141710</guid>
      <dc:creator>portix</dc:creator>
      <dc:date>2025-01-16T17:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Schema Mismatch Exceptions in Talend XML Processing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-Schema-Mismatch-Exceptions-in-Talend-XML-Processing/m-p/2501658#M141711</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If you want to escape the exception when processing your XML, you can use the solution proposed in this post.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design-and-Development/If-one-Excel-file-fails-how-does-the-job-not-stop-and-continue/td-p/2500309" target="_blank"&gt;https://community.qlik.com/t5/Design-and-Development/If-one-Excel-file-fails-how-does-the-job-not-stop-and-continue/td-p/2500309&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 17:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-Schema-Mismatch-Exceptions-in-Talend-XML-Processing/m-p/2501658#M141711</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-01-16T17:48:30Z</dc:date>
    </item>
  </channel>
</rss>

