[
https://issues.jboss.org/browse/DROOLS-287?page=com.atlassian.jira.plugin...
]
Geoffrey De Smet commented on DROOLS-287:
-----------------------------------------
That's probably because Java classnames can't contain "<" or
">" and the rules becomes java class files.
A solution to this is escaping for example with the "$" character:
"Rule_>" becomes "Rule_$gt$"
"Rule_<" becomes "Rule_$lt$"
"Rule_$" becomes "Rule_$dollar$"
"Rule_£" becomes "Rule_$u1245$" (presuming that 1245 is the unicode
for £.
"Rule a" becomes "Rule$space$a"
"Rule a" becomes "Rule$space$$space$a"
Rule names with non-alphabetic characters may lead to name clashes
------------------------------------------------------------------
Key: DROOLS-287
URL:
https://issues.jboss.org/browse/DROOLS-287
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Final, 6.0.0.CR4
Reporter: Davide Sottara
Assignee: Mark Proctor
Priority: Critical
Fix For: 5.5.1.Final, 6.0.0.CR5
A KB with the two following rules will not compile:
rule "Rule_>"
when then end
rule "Rule_<"
when then end
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira