[jboss-jira] [JBoss JIRA] Created: (JBRULES-932) Parser not working for complex field expression
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Mon Jun 18 13:05:11 EDT 2007
Parser not working for complex field expression
------------------------------------------------
Key: JBRULES-932
URL: http://jira.jboss.com/jira/browse/JBRULES-932
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.0.MR2
Reporter: Edson Tirelli
Assigned To: Edson Tirelli
Fix For: 4.0.0.MR3
// the bellow expression must generate the following tree:
//
// AND
// |
// OR
// /---------------+-------------------\
// AND AND AND
// /---+---\ /---+---\ /---+---\
// FC FC FC FC FC OR
// /---+---\
// FC FC
//
final String text = "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))";
The above expression is not working.
--
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
More information about the jboss-jira
mailing list