<?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 Replacing invalid xml character (Unicode: 0xc) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295261#M68045</link>
    <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;I have a very large XML file. I am reading that file content and storing it in SQL table. Now my issue is the loading is stopping because of the error:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Exception in component tFileInputXML_1&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;org.dom4j.DocumentException: Error on line 1636464 of document : An invalid XML character (Unicode: 0xc) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0xc) was found in the element content of the document.&lt;/DIV&gt;&lt;DIV&gt;since it is a very big file, I am not able to use tReplace. How can i solve this error?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Priya&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Jun 2019 12:49:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-20T12:49:16Z</dc:date>
    <item>
      <title>Replacing invalid xml character (Unicode: 0xc)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295261#M68045</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;I have a very large XML file. I am reading that file content and storing it in SQL table. Now my issue is the loading is stopping because of the error:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Exception in component tFileInputXML_1&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;org.dom4j.DocumentException: Error on line 1636464 of document : An invalid XML character (Unicode: 0xc) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0xc) was found in the element content of the document.&lt;/DIV&gt;&lt;DIV&gt;since it is a very big file, I am not able to use tReplace. How can i solve this error?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Priya&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295261#M68045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-20T12:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing invalid xml character (Unicode: 0xc)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295262#M68046</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLI7AAO"&gt;@priyadarshiniv&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please read the xml using tFileInputFullRow -&amp;gt; tReplace -&amp;gt; tFileOutputDelimited (cleansed file).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since it is a line by line operation, it will not require much memory to process.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 15:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295262#M68046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-20T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing invalid xml character (Unicode: 0xc)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295263#M68047</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your reply. But the solution doesnt work. The way I have declared is:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_1.JPG" style="width: 861px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5dU.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142223i34531D27DA11A0A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5dU.jpg" alt="0683p000009M5dU.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5de.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154623iAEF2606BD543D862/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5de.jpg" alt="0683p000009M5de.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5do.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153665iB641AEBE3C0DE104/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5do.jpg" alt="0683p000009M5do.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I get error:&lt;/P&gt; 
&lt;P&gt;Detail Message: The method replaceAll(String, String, String) in the type StringUtils is not applicable for the arguments (Object, String, String)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Priya&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 14:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295263#M68047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-24T14:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing invalid xml character (Unicode: 0xc)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295264#M68048</link>
      <description>&lt;P&gt;Hi Priya,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please try to convert the Object to STring using a tCOnvertType. Add this component before tReplace and you can eliminate the above error.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5eX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147684iFF9EE23A2FFB1FE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5eX.png" alt="0683p000009M5eX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 17:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replacing-invalid-xml-character-Unicode-0xc/m-p/2295264#M68048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-24T17:33:28Z</dc:date>
    </item>
  </channel>
</rss>

