Hi All,

I am using lessthan(<) and less than or equal (<=) operator in LHS part of a XML rule file which is like this.

<eval> obj.getValue < 10 </eval>

but when i am giving it to rule engine for execution, its throwing the following exception:

(null: 1, 214): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 1, 569): The content of elements must consist of well-formed character data or markup.
RuleException(javax.rules.admin.RuleExecutionSetCreateException : cannot create rule execution set), root cause(org.drools.compiler.DroolsParserException)
    at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)
    at com.unisys.mint.admin.rules.MCPRuleEngine.applyRule (MCPRuleEngine.java:104)
    at com.unisys.mint.sdk.services.managerules.MCPRuleManager.applyRule(MCPRuleManager.java:63)
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.applyRule(TestNewRuleClass.java :124)
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.main(TestNewRuleClass.java:40)
Caused by: org.drools.compiler.DroolsParserException
    at org.drools.compiler.PackageBuilder.addPackageFromXml (Unknown Source)
    ... 5 more
Caused by: org.drools.compiler.DroolsParserException
    at org.drools.compiler.PackageBuilder.addPackageFromXml(Unknown Source)
    at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet (Unknown Source)
    at com.unisys.mint.admin.rules.MCPRuleEngine.applyRule(MCPRuleEngine.java:104)
    at com.unisys.mint.sdk.services.managerules.MCPRuleManager.applyRule(MCPRuleManager.java:63)
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.applyRule (TestNewRuleClass.java:124)
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.main(TestNewRuleClass.java:40)
java.lang.NullPointerException
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.applyRule (TestNewRuleClass.java:125)
    at com.unisys.mint.sdk.services.managerules.TestNewRuleClass.main(TestNewRuleClass.java:40)
cannot create rule execution set

please help me to solve this.

Thanks in advance,
Mahantesh.