<br> This is a bug. May I ask you please to open a JIRA for it?<br><br> Thanks<br> Edson<br><br><div><span class="gmail_quote">2008/1/15, Gattiker, Alexandre <<a href="mailto:Alexandre.Gattiker@generali.ch">
Alexandre.Gattiker@generali.ch</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The documentation on the 'and' Conditional Element seems to imply that these constructs are equivalent:
<br><br> $p1:Entity($code1:code)<br> not (and<br> $p2:Entity(code == $code1)<br> eval(MyStaticClass.match($p1, $p2))<br> )<br><br>
$p1:Entity($code1:code)<br> not (<br> $p2:Entity(code == $code1)<br> and eval(MyStaticClass.match($p1, $p2))<br> )<br><br>Actually, the first version crashes with this message:
<br><br>unknown:93:7 Unexpected token 'and'[96,2]: unknown:96:2 mismatched token: [@792,3685:3685=')',<12>,96:2]; expecting type THEN<br><br>I'm on drools 4.0.2 and mvel14-1.2.8.<br><br>Alexandre
<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><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br>
JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>