<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Drools 3.1.0-M1 dsl compatibility problems with 3.0.4</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">We are in the process of converting from 3.0.4 to 3.1.0-M1 and having problems building rules with a dsl that built in 3.0.4 with no problems.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">We are getting rule compilation errors reporting:</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">String literal is not properly closed by a double-quote</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The problem was isolated to the following, a dsl mapping that works in 3.0.4</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp; ,<B> </B></FONT><B><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">&quot;{message}\n&quot;</FONT></B> <FONT SIZE=2 FACE="Arial">);</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">We had to change it to the following to get past the compile error.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp;</FONT><B> <FONT SIZE=2 FACE="Arial">, </FONT><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">&quot;{message}&quot;);</FONT></B>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Tried to get the lf in various ways but no luck. Only way would be to modify every message and add a LF</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp; , &quot;{message}&quot; + &quot;\n&quot;);&nbsp; -- no good got same error.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">This was not easy to find either. The error message above was not of much use.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Tom G</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>