<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote">
On 23 June 2011 09:16, James Gu <span dir="ltr">&lt;<a href="mailto:jxgu@cnsh.delphi-tech.com" target="_blank">jxgu@cnsh.delphi-tech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,<br>
<br>
I am using guvnor-5.2.0.CR1-jboss-as-5.1. I found a bug in DSL mapping.<br>
<br>
This is the DSL items.<br>
<br>
[when]There is an TestObject=TestObject()<br>
[when]-startDate is before {date}=startDate&gt;DateUtils.parseDate(&quot;{date}&quot;)<br>
[when]-endDate is after {date}=endDate&gt;DateUtils.parseDate(&quot;{date}&quot;)<br><br></blockquote></div></blockquote><div><br>Although not relevant for the error in the DRL creation - please note that the wording<br>
of the second DSL item contradicts the expression it is translated into. <br><br>Also, the constraints (even if inserted properly into the pattern) will not compile, either in 5.1.1 or in 5.2.x, because they are syntactically incorrect.<br>
<br>-W<br></div></div>