can any one confirm this:
i tested:
1. m : Message( date > "2007-Mar-12", message : message )
2. m : Message( date == "2007-Mar-12", message : message )
3. m : Message( date < "2007-Mar-12", message : message )
only 2 works. 1 and 3 throws:
java.lang.RuntimeException: Operator '40' does not exist for StringEvaluator
at org.drools.base.evaluators.StringFactory.getStringEvaluator(Unknown Source)
at org.drools.base.EvaluatorFactory.getEvaluator(Unknown Source)
at org.drools.base.EvaluatorFactory.getEvaluator(Unknown Source)
at org.drools.semantics.java.RuleBuilder.getEvaluator(Unknown Source)
at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
at org.drools.compiler.PackageBuilder.addRule(Unknown Source)
at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
at com.sample.DroolsTest.readRule(DroolsTest.java:57)
at com.sample.DroolsTest.main(DroolsTest.java:23)
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories
at Yahoo! Games.
http://sims.yahoo.com/