Hi Vdelbart,<br><br>&nbsp; Awesome, you nailed it!&nbsp; Thanks!<br><br>Andy<br><br><div><span class="gmail_quote">On 9/3/07, <b class="gmail_sendername">vdelbart</b> &lt;<a href="mailto:delbart.v@mipih.fr">delbart.v@mipih.fr</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;"><br>Hi Andy Mei,<br><br>In your DSL file you put some parentheses. I think it&#39;s the problem. Try
<br>with this :<br><br>&gt; [when]There is a person with=person:Person()<br>&gt; [when]-age is at least {age} years old=age &gt;= {age}<br>&gt; [when]-age is less than {age} years old=age &lt; {age}<br>&gt; [when]-must has a name=name != &quot;&quot; &amp;&amp; name != null
<br>&gt; [when]-id must be positive integer=id &gt; 0<br><br>Good luck,<br><br>vdelbart<br>--<br>View this message in context: <a href="http://www.nabble.com/DSL-field-constraint-question-tf4360996.html#a12457145">http://www.nabble.com/DSL-field-constraint-question-tf4360996.html#a12457145
</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br>