[
http://jira.jboss.com/jira/browse/JBRULES-1411?page=all ]
Edson Tirelli closed JBRULES-1411.
----------------------------------
Resolution: Rejected
Binding multiple OR'ed patterns at once is a special syntax case that is only
supported for infix OR:
$xxx : (A(...) or A(...) or A(...))
I would like to completely remove the support for that, but Mark does not agree with
dropping this syntax.
If you are using prefix or, just to bindings as you would usually do:
(or a:A(...) a:A(...) a:A(...))
It is possible to use the same syntax with infix OR:
(a:A(...) or a:A(...) or a:A(...))
PrefixOr is Broken
------------------
Key: JBRULES-1411
URL:
http://jira.jboss.com/jira/browse/JBRULES-1411
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.3
Reporter: Ming Jin
Assigned To: Edson Tirelli
Attachments: testdrools.zip
Tried to use PrefixOr in rules, but always receive compiler error. Used infixOr as work
around. But it seems a bug. Will attach a stand-alone sample app to demonstrate this
problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira