Tom - there was some MAJOR re-work for 3.1m1 - could you put this in a JIRA - that example, perhaps with the test code, but at least the example.<br>Its probably some regex-foo stuffing up and choking on the \n, no doubt.&nbsp; That would be great. 
<br><br><div><span class="gmail_quote">On 3/2/07, <b class="gmail_sendername">Tom Gonzalez</b> &lt;<a href="mailto:tomgon@nortel.com">tomgon@nortel.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>


<p><font face="Arial" size="2">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 face="Arial" size="2">We are getting rule compilation errors reporting:</font>
</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="Arial" size="2">String literal is not properly closed by a double-quote</font>
</p>

<p><font face="Arial" size="2">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 face="Arial" size="2">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp; ,<b> </b></font><b><font color="#ff0000" face="Arial" size="2">&quot;{message}\n&quot;</font></b> <font face="Arial" size="2">
);</font>
</p>

<p><font face="Arial" size="2">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 face="Arial" size="2">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp;</font><b> <font face="Arial" size="2">, </font><font color="#ff0000" face="Arial" size="2">&quot;{message}&quot;);</font></b>
</p>
<br>

<p><font face="Arial" size="2">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 face="Arial" size="2">[then]Log : {level} , {message}=logUtil.log ( {level}&nbsp; , &quot;{message}&quot; + &quot;\n&quot;);&nbsp; -- no good got same error.</font>
</p>

<p><font face="Arial" size="2">This was not easy to find either. The error message above was not of much use.</font>
</p>

<p><font face="Arial" size="2">Regards,</font>
</p>
<br>

<p><font face="Arial" size="2">Tom G</font>
</p>
<br>
<br>

</div>
<br>_______________________________________________<br>rules-dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br><br></blockquote></div><br>