<?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: [resolved] XML file parsing error[Solved] in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251954#M35745</link>
    <description>Hi willm,&lt;BR /&gt;there are some user components in Talend Exchange to do that.&lt;BR /&gt;@Med: Please show us the XML you have tried to parse. In fact in your xml is an error but we could not find it without seeing the xml.</description>
    <pubDate>Sat, 29 Mar 2014 09:39:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-29T09:39:26Z</dc:date>
    <item>
      <title>[resolved] XML file parsing error[Solved]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251952#M35743</link>
      <description>Hi all, 
&lt;BR /&gt;I have been having this error since I tried to use a Log4j configuration file to generate logs. 
&lt;BR /&gt;Please find below a screenshot of the error. 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDUt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130930i6B8C883713AA1B33/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDUt.jpg" alt="0683p000009MDUt.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 28 Mar 2014 16:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251952#M35743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-28T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] XML file parsing error[Solved]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251953#M35744</link>
      <description>How are you configuring your job to do logging with log4j?</description>
      <pubDate>Fri, 28 Mar 2014 17:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251953#M35744</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-03-28T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] XML file parsing error[Solved]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251954#M35745</link>
      <description>Hi willm,&lt;BR /&gt;there are some user components in Talend Exchange to do that.&lt;BR /&gt;@Med: Please show us the XML you have tried to parse. In fact in your xml is an error but we could not find it without seeing the xml.</description>
      <pubDate>Sat, 29 Mar 2014 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251954#M35745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-29T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] XML file parsing error[Solved]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251955#M35746</link>
      <description>Hello, 
&lt;BR /&gt;Sorry for not giving enough elements to help you understand my problem. 
&lt;BR /&gt;Please find below two screenshots that illustrate the way I'm logging my job. 
&lt;BR /&gt;And this is my log4j config file that's most likely causing my parsing issue. 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;  Log4j Configuration - For more configuration information and examples see&lt;BR /&gt;  the Jakarta Log4j - website: http://jakarta.apache.org/log4j&lt;BR /&gt;&lt;BR /&gt;    &amp;lt;appender name="FILE" class="org.apache.log4j.FileAppender"&amp;gt;&lt;BR /&gt;      &amp;lt;errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" /&amp;gt;&lt;BR /&gt;      &amp;lt;param name="File" value="/opt/application/86acrm/logs/crmuser_sync/crmuser-sync-ICO1.log" /&amp;gt;&lt;BR /&gt;      &amp;lt;param name="Append" value="true" /&amp;gt;&lt;BR /&gt;      &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&lt;BR /&gt;        &amp;lt;param name="ConversionPattern" value="%d %-5p  %m%n"/&amp;gt;&lt;BR /&gt;      &amp;lt;/layout&amp;gt;&lt;BR /&gt;    &amp;lt;/appender&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  &amp;lt;!-- ================= --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- Gather errors in a local file --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- ==================--&amp;gt;&lt;BR /&gt;  &amp;lt;appender name="ERROR-FILE" class="org.apache.log4j.FileAppender"&amp;gt;&lt;BR /&gt;    &amp;lt;errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" /&amp;gt;&lt;BR /&gt;     &amp;lt;param name="File" value="/opt/application/86acrm/logs/crmuser_sync/crmuser-sync-ICO1-error.log" /&amp;gt;&lt;BR /&gt;	&amp;lt;!-- &amp;lt;param name="File" value="C:/Users/a577189/Desktop/outTalend/crmuser-sync-ICO1-error.log" /&amp;gt;   --&amp;gt;&lt;BR /&gt;    &amp;lt;param name="Append" value="true" /&amp;gt;&lt;BR /&gt;    &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&lt;BR /&gt;      &amp;lt;param name="ConversionPattern" value="%d{ISO8601} %-5p  %m%n" /&amp;gt;&lt;BR /&gt;    &amp;lt;/layout&amp;gt;&lt;BR /&gt;     &amp;lt;filter class="org.apache.log4j.varia.LevelRangeFilter"&amp;gt;&lt;BR /&gt;         &amp;lt;param name="levelMin" value="ERROR"/&amp;gt;&lt;BR /&gt;     &amp;lt;/filter&amp;gt;&lt;BR /&gt;  &amp;lt;/appender&amp;gt;&lt;BR /&gt;  &amp;lt;!-- ===================== --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- Append messages to the console --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- ===================== --&amp;gt;&lt;BR /&gt;  &amp;lt;appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"&amp;gt;&lt;BR /&gt;    &amp;lt;errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" /&amp;gt;&lt;BR /&gt;    &amp;lt;param name="Target" value="System.out" /&amp;gt;&lt;BR /&gt;    &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&lt;BR /&gt;      &amp;lt;param name="ConversionPattern" value="%d{ABSOLUTE} %-5p  %m%n" /&amp;gt;&lt;BR /&gt;    &amp;lt;/layout&amp;gt;&lt;BR /&gt;     &amp;lt;filter class="org.apache.log4j.varia.LevelRangeFilter"&amp;gt;&lt;BR /&gt;         &amp;lt;param name="levelMin" value="WARN"/&amp;gt;&lt;BR /&gt;     &amp;lt;/filter&amp;gt;&lt;BR /&gt;  &amp;lt;/appender&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  &amp;lt;!-- ================ --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- Setup the Root category --&amp;gt;&lt;BR /&gt;  &amp;lt;!-- ================ --&amp;gt;&lt;BR /&gt;  &lt;BR /&gt;  &amp;lt;root&amp;gt;&lt;BR /&gt;    &amp;lt;level value="DEBUG" /&amp;gt;&lt;BR /&gt;    &amp;lt;appender-ref ref="CONSOLE" /&amp;gt;&lt;BR /&gt;    &amp;lt;appender-ref ref="FILE" /&amp;gt;&lt;BR /&gt;    &amp;lt;appender-ref ref="ERROR-FILE" /&amp;gt;&lt;BR /&gt;  &amp;lt;/root&amp;gt;&lt;BR /&gt;&amp;lt;/log4j:configuration&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDUy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143836i42FD175AF04E1586/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDUy.jpg" alt="0683p000009MDUy.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDV3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157596iAE8B526B2735B46E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDV3.jpg" alt="0683p000009MDV3.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 31 Mar 2014 09:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251955#M35746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] XML file parsing error[Solved]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251956#M35747</link>
      <description>Hi again, 
&lt;BR /&gt;My problem is fixed now. It actually was a simple blank space before my XML declaration. 
&lt;BR /&gt;I am though open to any suggestions or good practice material you may have and that I can use to enhance my config file or the way I handle the logs.</description>
      <pubDate>Mon, 31 Mar 2014 09:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-file-parsing-error-Solved/m-p/2251956#M35747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T09:49:04Z</dc:date>
    </item>
  </channel>
</rss>

