<div>Good Morning Fernando,</div>
<div>&nbsp;</div>
<div>Thanks a lot for your fast answer.</div>
<div>&nbsp;</div>
<div>Cédric<br><br>&nbsp;</div>
<div><span class="gmail_quote">2007/4/24, Fernando Meyer &lt;<a href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Afternoon Cendric,<br><br>on DRL files you can use single backslash, that means, forget my last email ;) <br>
<br>This compiling error is caused by a bug in drools parser, fixed for 3.0.7 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jira.jboss.com/jira/browse/JBRULES-757" target="_blank">http://jira.jboss.com/jira/browse/JBRULES-757
</a> <br><br>You can checkout branches/3.0.x from subversion repository (<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://anonsvn.labs.jboss.com/labs/jbossrules/" target="_blank">http://anonsvn.labs.jboss.com/labs/jbossrules/ 
</a>) to correct this problem.<br><br>regards 
<div><span class="e" id="q_11225724cd6512fd_1"><br><br>
<div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Fernando Meyer</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:fmcamargo@gmail.com" target="_blank">fmcamargo@gmail.com
</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #cccccc 1px solid">Good morning Cendric<br><br>you must use \\ instead \, because the single&nbsp;backslah&nbsp;is&nbsp;used&nbsp;as&nbsp;escape&nbsp;character. 
<br><br>regards <br><br>
<div>
<div><span><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Cédric D&#39;Inca </b>&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:animageo@gmail.com" target="_blank">animageo@gmail.com
</a>&gt; wrote:</span></span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #cccccc 1px solid">
<div><span>
<div><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<p>Hi everyone,</p>
<p>I am currently experimentating troubles compiling a DRL file with a \&quot; character in it. <br>I am using Drools libraries 3.0.4.<br>I used a XLS decision table that, once compiled, gave me a DRL. The following lines are extracted from it. 
</p>
<p>#From row number: 14</p>
<p>rule &quot;Exemple 1 2006 10 10_14&quot; </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; salience 65522<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx:MyObject()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval(Ctx.GetPrp(&quot;TEST&quot;).getValue().equals(&quot;GER&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx.SetPrp(&quot;TRUC&quot;).setValue(&quot;test char \&quot; test&quot;); 
<br>end<br>&nbsp;<br>#From row number: 15<br>&nbsp;<br>The problem is that when compiled, an error is generated </p>
<p>Unknown:0-1 mismatched token: [@0,0,0=&#39;&lt;no text&gt;&#39;,&lt;-1&gt;,0:-1]; expecting type &#39;end&#39;</p>
<p>If I modify the decision table to put<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ctx.SetPrp(&quot;TRUC&quot;).setValue(&quot;test char &quot; test&quot;); </p>
<p>The result is the same </p>
<p>Unknown:0-1 mismatched token: [@0,0,0=&#39;&lt;no text&gt;&#39;,&lt;-1&gt;,0:-1]; expecting type &#39;end&#39; </p>
<p><br>So it means that \&quot; is not understood, however, if I put \z, I get the following error: </p>
<p>Rule compilation error Invalid escape sequence (valid ones are \b \t \n \f \r \&quot; \&#39; \\) </p>
<p>Where it is written that \&quot; should be understood. <br>Any idea? </p>
<p>Greetings, </p>
<p>Cédric D&#39;INCA<br></p></span></font></div><br></span></div>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org" target="_blank">
rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users 
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br><span>Fernando Meyer </span></blockquote></div><br><br clear="all"><br></span></div>-- <br><span class="sg">Fernando Meyer </span><br>_______________________________________________
<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br>