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 _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users