&nbsp; Ok, fixed that in 3.0.x branch. <br><br>&nbsp; If you update and build, you shall not have the problem anymore.<br><br>&nbsp;&nbsp; Regards,<br>&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/3/28, Edson Tirelli &lt;<a href="mailto:tirelli@post.com">
tirelli@post.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Cedric,<br><br>Don&#39;t mind. I already opened the ticket:<br>
<br><a href="http://jira.jboss.com/jira/browse/JBRULES-757" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jira.jboss.com/jira/browse/JBRULES-757</a><br><br>[]s<br>Edson<br><br><div><span class="gmail_quote">

2007/3/28, Edson Tirelli &lt;<a href="mailto:tirelli@post.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tirelli@post.com</a>&gt;:</span><div><span class="e" id="q_1119a6dca95337e8_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>&nbsp; Cedric<br><br>&nbsp; Yes, seems a lexer problem. Can you please open a JIRA? We will fix it for the next maintenance release.<br><br>&nbsp;&nbsp; Thank you<br>&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/3/28, D&#39;Inca Cedric &lt;
<a href="mailto:cdinca@sopragroup.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cdinca@sopragroup.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="FR">

<div><div><span>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi everyone,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I am currently experimentating troubles compiling a
DRL file with a \&quot; character in it.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I used a XLS decision table that, once compiled, gave
me a DRL. The following lines are extracted from it.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">#From row number:
14</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">rule
&quot;Exemple 1 2006 10 10_14&quot;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; salience
65522</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx:MyObject()</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval(Ctx.GetPrp(&quot;TEST&quot;).getValue().equals(&quot;GER&quot;))</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx.SetPrp(&quot;TRUC&quot;).setValue(&quot;test
char \&quot; test&quot;);</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">end</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">#From row number:
15</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">The problem is that
when compiled, an error is generated </span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">Unknown:0-1 mismatched
token: [@0,0,0=&#39;&lt;no text&gt;&#39;,&lt;-1&gt;,0:-1]; expecting type &#39;end&#39;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">If I modify the
decision table to put</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx.SetPrp(&quot;TRUC&quot;).setValue(&quot;test
char &quot; test&quot;);</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">The result is the
same</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">Unknown:0-1 mismatched
token: [@0,0,0=&#39;&lt;no text&gt;&#39;,&lt;-1&gt;,0:-1]; expecting type &#39;end&#39;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">So it means that \&quot; is not understood, however,
if I put \z, I get the following error:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Rule compilation error Invalid escape sequence (valid
ones are \b \t \n \f \r \&quot; \&#39; \\)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Where it is written that \&quot; should be
understood.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Any idea?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Greetings,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Cédric D&#39;INCA</span></font></p></span></div>

</div>

</div>



<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3124-6000<br>&nbsp;&nbsp;Mobile: +55 11 9218-4151
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.jboss.com</a>
</blockquote></span></div></div><div><span class="e" id="q_1119a6dca95337e8_3"><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3124-6000<br>&nbsp;&nbsp;Mobile: +55 11 9218-4151
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.jboss.com</a>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3124-6000<br>&nbsp;&nbsp;Mobile: +55 11 9218-4151<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ 
<a href="http://www.jboss.com">www.jboss.com</a>