[jboss-jira] [JBoss JIRA] (JBRULES-3438) Blanks between () causes syntax error in DSL expansion
Wolfgang Laun (JIRA)
jira-events at lists.jboss.org
Fri Mar 30 12:02:48 EDT 2012
Wolfgang Laun created JBRULES-3438:
--------------------------------------
Summary: Blanks between () causes syntax error in DSL expansion
Key: JBRULES-3438
URL: https://issues.jboss.org/browse/JBRULES-3438
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler-DSL
Affects Versions: 5.4.0.Beta2
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Priority: Minor
// === DSL ============================================
[keyword][]greater than=>
[condition][]- where {VarName} is {AttributeName} and is {operator} {value}=
{VarName}: {AttributeName} {operator} {value}
[condition][]ThereIsProgramHistoryData = ProgramHistory ( )
// === DSLR ===========================================
rule lpygt0
when
ThereIsProgramHistoryData
- where $var01 is levelPriorYear and is greater than 0
then
end
// ====================================================
produces incorred DRL due to the redundant spaces in ProgramHistory ( )
ProgramHistory ( , $var01: levelPriorYear > 0 )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list