<?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] java.lang.RuntimeException: An invalid XML character (Unicode: 0x1) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363140#M127112</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Have you tried mapping a string literal in a tMap to your output component?  Something like&lt;BR /&gt;output_row.SEP_STRING="\u0001"&lt;BR /&gt;This should keep the Talend problems away.  Are you passing this value along to a database query?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;That did it!&lt;BR /&gt;Thanks.</description>
    <pubDate>Tue, 26 Jul 2011 16:37:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-07-26T16:37:23Z</dc:date>
    <item>
      <title>[resolved] java.lang.RuntimeException: An invalid XML character (Unicode: 0x1)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363138#M127110</link>
      <description>I need to store a unicode character in Talend that the target system uses as a separator value in its database. 
&lt;BR /&gt;It's 0x01/U+0001//start of header/^A. 
&lt;BR /&gt;I pasted the character directly into Talend and next time I ran it that job just came up blank (making me think I've lost all my progress!). 
&lt;BR /&gt;I checked the log and found this: 
&lt;BR /&gt;java.lang.RuntimeException: An invalid XML character (Unicode: 0x1) was found in the element content:"^A2^A" 
&lt;BR /&gt;Did some research and found that this character is supported in XML 1.1, but not 1.0 ( 
&lt;A href="http://en.wikipedia.org/wiki/Valid_characters_in_XML" target="_blank" rel="nofollow noopener noreferrer"&gt;http://en.wikipedia.org/wiki/Valid_characters_in_XML&lt;/A&gt;). 
&lt;BR /&gt;If I manually change the XML version of the item file to 1.1, Talend once again opens the job as blank. 
&lt;BR /&gt;Is there any way to fix this? Work around it? 
&lt;BR /&gt;I'm going to try loading the character from a file on the fly to avoid storing it in Talend's xml file. Even it works it would be ugly, so I'm looking for better solutions. 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 12:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363138#M127110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] java.lang.RuntimeException: An invalid XML character (Unicode: 0x1)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363139#M127111</link>
      <description>Have you tried mapping a string literal in a tMap to your output component?  Something like&lt;BR /&gt;output_row.SEP_STRING="\u0001"&lt;BR /&gt;This should keep the Talend problems away.  Are you passing this value along to a database query?</description>
      <pubDate>Tue, 26 Jul 2011 15:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363139#M127111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-26T15:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] java.lang.RuntimeException: An invalid XML character (Unicode: 0x1)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363140#M127112</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Have you tried mapping a string literal in a tMap to your output component?  Something like&lt;BR /&gt;output_row.SEP_STRING="\u0001"&lt;BR /&gt;This should keep the Talend problems away.  Are you passing this value along to a database query?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;That did it!&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 26 Jul 2011 16:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-java-lang-RuntimeException-An-invalid-XML-character/m-p/2363140#M127112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-26T16:37:23Z</dc:date>
    </item>
  </channel>
</rss>

