[rules-users] escaping backslash in matches clauses (documentation bug?)
Godmar Back
godmar at gmail.com
Tue Sep 25 21:07:40 EDT 2007
The documentation states that '\' occurring in matches clauses do not
need escaping. However, unescaped '\' cause this error message when
compiling the .drl file:
Exception in thread "main" org.drools.rule.InvalidRulePackage: Unable
to determine the used declarations : [Rule name=Apply XML Descriptor,
agendaGroup=MAIN, salience=0, no-loop=false]
at org.drools.rule.Package.checkValidity(Package.java:419)
at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:292)
Escaping the '\' as is customary in Java makes the code work.
- Godmar
More information about the rules-users
mailing list