Markus, The following Jira might related with your problem: http://jira.jboss.com/jira/browse/JBRULES-1411?page=all
-Ming -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krishnan Sivaramakrishna Iyer Sent: Monday, January 28, 2008 8:36 AM To: Rules Users List Subject: Re: [rules-users] OR Hi Markus, can u try this please ? (pensioner : Person( sex == "f", age > 60 ) or pensioner : Person( sex == "m", age > 65 ) ) -Krishnan Markus Helbig wrote: > This is from Drools documentation > > Example 6.36. or with binding > > pensioner : (or Person( sex == "f", age > 60 ) > Person( sex == "m", age > 65 ) ) > > Explicit binding on each Pattern is also allowed. > > (or pensioner : Person( sex == "f", age > 60 ) > pensioner : Person( sex == "m", age > 65 ) ) > > > but trying to get this to work resolves in: > > [60,8]: unknown:60:8 Unexpected token 'or'[62,8]: unknown:62:8 > mismatched token: [EMAIL PROTECTED],2279:2291='Person',<7>,62:8]; expecting > type > RIGHT_PAREN[62,81]: unknown:62:81 mismatched token: > [EMAIL PROTECTED],2352:2352=')',<12>,62:81]; expecting type THEN > > Any ideas (using Drools 4.0.4)? > > Cheers > > Markus > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
