Hi Vdelbart,<br><br> Awesome, you nailed it! Thanks!<br><br>Andy<br><br><div><span class="gmail_quote">On 9/3/07, <b class="gmail_sendername">vdelbart</b> <<a href="mailto:delbart.v@mipih.fr">delbart.v@mipih.fr</a>> 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's the problem. Try
<br>with this :<br><br>> [when]There is a person with=person:Person()<br>> [when]-age is at least {age} years old=age >= {age}<br>> [when]-age is less than {age} years old=age < {age}<br>> [when]-must has a name=name != "" && name != null
<br>> [when]-id must be positive integer=id > 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>