<?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 [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355196#M121003</link>
    <description>Hi
&lt;BR /&gt;I've a problem with tFileInputDelimited component. In my test job I use only this component and tLog.
&lt;BR /&gt;The file's schema contains 2 strings : MFC and PNR.
&lt;BR /&gt;All is Built-In (file, schema).
&lt;BR /&gt;Erreur is : 
&lt;B&gt;Erreur de syntaxe sur le sème "=", Expression était attendu après ce sème"&lt;/B&gt;
&lt;BR /&gt;And the java generated code is :
&lt;BR /&gt;
&lt;PRE&gt;			class RowHelper_tFileInputDelimited_2{&lt;BR /&gt;				&lt;BR /&gt;					public void valueToConn(org.talend.fileprocess.FileInputDelimited fid,row1Struct row1) throws Exception{&lt;BR /&gt;						&lt;BR /&gt;					String temp = ""; &lt;BR /&gt;				&lt;BR /&gt;							temp  = fid.get(0).trim();&lt;BR /&gt;							if(temp.length() &amp;gt; 0){&lt;BR /&gt;								row1.PNR = temp;&lt;BR /&gt;							}else{&lt;BR /&gt;								row1.PNR =  ;&lt;BR /&gt;							}&lt;BR /&gt;						&lt;BR /&gt;							temp  = fid.get(1).trim();&lt;BR /&gt;							if(temp.length() &amp;gt; 0){&lt;BR /&gt;								row1.MFC = temp;&lt;BR /&gt;							}else{&lt;BR /&gt;								row1.MFC =  ;&lt;BR /&gt;							}&lt;/PRE&gt;
&lt;BR /&gt;Any idea ?
&lt;BR /&gt;Why the generated line is " row1.PNR = ;" ?
&lt;BR /&gt;Best regards</description>
    <pubDate>Fri, 16 Mar 2012 17:54:32 GMT</pubDate>
    <dc:creator>toos</dc:creator>
    <dc:date>2012-03-16T17:54:32Z</dc:date>
    <item>
      <title>[TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355196#M121003</link>
      <description>Hi
&lt;BR /&gt;I've a problem with tFileInputDelimited component. In my test job I use only this component and tLog.
&lt;BR /&gt;The file's schema contains 2 strings : MFC and PNR.
&lt;BR /&gt;All is Built-In (file, schema).
&lt;BR /&gt;Erreur is : 
&lt;B&gt;Erreur de syntaxe sur le sème "=", Expression était attendu après ce sème"&lt;/B&gt;
&lt;BR /&gt;And the java generated code is :
&lt;BR /&gt;
&lt;PRE&gt;			class RowHelper_tFileInputDelimited_2{&lt;BR /&gt;				&lt;BR /&gt;					public void valueToConn(org.talend.fileprocess.FileInputDelimited fid,row1Struct row1) throws Exception{&lt;BR /&gt;						&lt;BR /&gt;					String temp = ""; &lt;BR /&gt;				&lt;BR /&gt;							temp  = fid.get(0).trim();&lt;BR /&gt;							if(temp.length() &amp;gt; 0){&lt;BR /&gt;								row1.PNR = temp;&lt;BR /&gt;							}else{&lt;BR /&gt;								row1.PNR =  ;&lt;BR /&gt;							}&lt;BR /&gt;						&lt;BR /&gt;							temp  = fid.get(1).trim();&lt;BR /&gt;							if(temp.length() &amp;gt; 0){&lt;BR /&gt;								row1.MFC = temp;&lt;BR /&gt;							}else{&lt;BR /&gt;								row1.MFC =  ;&lt;BR /&gt;							}&lt;/PRE&gt;
&lt;BR /&gt;Any idea ?
&lt;BR /&gt;Why the generated line is " row1.PNR = ;" ?
&lt;BR /&gt;Best regards</description>
      <pubDate>Fri, 16 Mar 2012 17:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355196#M121003</guid>
      <dc:creator>toos</dc:creator>
      <dc:date>2012-03-16T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355197#M121004</link>
      <description>Hi,&lt;BR /&gt;Could it be that you accidentally set the default value of both fields to a blank space (without any quotes arround it), because that's how I could recreate your issue.&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Mon, 19 Mar 2012 07:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355197#M121004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-19T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355198#M121005</link>
      <description>Hi 
&lt;BR /&gt;1. Pedro 
&lt;BR /&gt;before my poste, I've tested it in a little separated job. The error appeared each time when I used my generic schema created from an xml file. This xml file is obtained as an export of a schema of a tFileOutputDelimited file generated in an other job. 
&lt;BR /&gt;2. Arno 
&lt;BR /&gt;It was exactly, what you suggested. My schema is generated from xml file. 
&lt;BR /&gt;And there are the blancs value (invisible) in the default value. 
&lt;BR /&gt;As you can see the default value is no blanc but empty string : 
&lt;BR /&gt; 
&lt;PRE&gt;  &amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &lt;BR /&gt;- &amp;lt;schema&amp;gt;&lt;BR /&gt;  &amp;lt;column comment="Reference Article" default="" key="false" label="PNR" length="70" nullable="true" originalDbColumnName="PNR" pattern=""dd-MM-yyyy"" precision="-1" talendType="id_String" type="" /&amp;gt; &lt;BR /&gt;  &amp;lt;column comment="Code Entreprise" default="" key="false" label="MFC" length="5" nullable="true" originalDbColumnName="MFC" pattern=""dd-MM-yyyy"" precision="-1" talendType="id_String" type="" /&amp;gt; &lt;BR /&gt;...&lt;/PRE&gt; 
&lt;BR /&gt;Thanks a lot for your attention. 
&lt;BR /&gt;I have the solution, but I can't explain why, when imported or used as generic schema it produce a blanc in the default property ... 
&lt;BR /&gt;Is it a bug ? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;P.S. 
&lt;BR /&gt;The "export as xml file" seems work bad : there is the date pattern for a non date fields.</description>
      <pubDate>Mon, 19 Mar 2012 08:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355198#M121005</guid>
      <dc:creator>toos</dc:creator>
      <dc:date>2012-03-19T08:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355199#M121006</link>
      <description>Hi,&lt;BR /&gt;Yes, I suppose this is a bug, because in your XML there is an empty string, not a blank space... &lt;BR /&gt;I tried reproducing this result using my 4.2.3 studio, but couldn't get it to fail. Maybe a 5.0 issue?&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Mon, 19 Mar 2012 08:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355199#M121006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-19T08:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355200#M121007</link>
      <description>Hi Arno&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;You rock!&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 19 Mar 2012 08:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355200#M121007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-19T08:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: [TOS 5.0.1r74687] Error java generated code for tFileInputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355201#M121008</link>
      <description>&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TOS-5-0-1r74687-Error-java-generated-code-for/m-p/2355201#M121008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-19T08:59:36Z</dc:date>
    </item>
  </channel>
</rss>

