[jboss-jira] [JBoss JIRA] (JBRULES-3438) Blanks between () causes syntax error in DSL expansion
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Thu Apr 5 20:23:47 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor reassigned JBRULES-3438:
-------------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> 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: Mario Fusco
> 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