<?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: Ignore xml parse exceptions [SOLVED] in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337184#M105552</link>
    <description>I found another solution : (not great but a solution)
&lt;BR /&gt;I have a main job (job A) which parses all xml files in a directory then remove them (on by one).
&lt;BR /&gt;When an exception occured in job A because of an incorrect xml file I jump to another job (job B) with an "on error from component" transition.
&lt;BR /&gt;The job A is stopped by the SAX exception. 
&lt;BR /&gt;The job B move my wrong xml file in another directory (send a mail, etc....) then restart job A.
&lt;BR /&gt;And finally all xml files are parsed or saved and exception are send by mail.
&lt;BR /&gt;Thx all... I turn post to solved.</description>
    <pubDate>Wed, 17 Jun 2009 17:01:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-17T17:01:15Z</dc:date>
    <item>
      <title>Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337179#M105547</link>
      <description>Hi all,&lt;BR /&gt;I want to extract datas from xml files generated by differents applications.&lt;BR /&gt;To do this, I use a tFileList component to parse a directory containing my xml files and some tFileInputXml component to parse files.&lt;BR /&gt;When a xml file isn't correct a SAXParse exception happen and my job is stopped. Is it possible to continue the job, stop the parse of incorrect file but continue parsing others files?&lt;BR /&gt;thx all</description>
      <pubDate>Sat, 16 Nov 2024 13:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337179#M105547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337180#M105548</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Is it possible to continue the job, stop the parse of incorrect file but continue parsing others files?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;No, it is impossible at the moment. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; tFileInputXML don't ignore the error when it meet a exception 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 17 Jun 2009 04:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337180#M105548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T04:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337181#M105549</link>
      <description>Thank you for the response. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Do you think it's possible to run a tjava component wich delete my corrupted xml file and restart my job? 
&lt;BR /&gt;This tjava component will be start with an "on Error" trigger..</description>
      <pubDate>Wed, 17 Jun 2009 11:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337181#M105549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T11:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337182#M105550</link>
      <description>U can first use a tJava to check all xml files and catch the exception, then use talend as usual for the validated files.</description>
      <pubDate>Wed, 17 Jun 2009 12:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337182#M105550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337183#M105551</link>
      <description>Why not! But use a tJava component to check xml files before re-parse some of them isn't very sexy.</description>
      <pubDate>Wed, 17 Jun 2009 14:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337183#M105551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore xml parse exceptions [SOLVED]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337184#M105552</link>
      <description>I found another solution : (not great but a solution)
&lt;BR /&gt;I have a main job (job A) which parses all xml files in a directory then remove them (on by one).
&lt;BR /&gt;When an exception occured in job A because of an incorrect xml file I jump to another job (job B) with an "on error from component" transition.
&lt;BR /&gt;The job A is stopped by the SAX exception. 
&lt;BR /&gt;The job B move my wrong xml file in another directory (send a mail, etc....) then restart job A.
&lt;BR /&gt;And finally all xml files are parsed or saved and exception are send by mail.
&lt;BR /&gt;Thx all... I turn post to solved.</description>
      <pubDate>Wed, 17 Jun 2009 17:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ignore-xml-parse-exceptions-SOLVED/m-p/2337184#M105552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T17:01:15Z</dc:date>
    </item>
  </channel>
</rss>

