<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.bold
        {}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi, <br>
As per documentation, I'm trying to use a simple rule for <span class="bold">date</span> comparison,
<br>
<br>
<i>rule "EFP_14" <br>
when <br>
v:ResourceValue(QName == "A.<span class="bold">datetime</span>", value > "01-nov-2011")
<br>
then <br>
System.out.println("--> Rule executed"); <br>
end</i><br>
<br>
but I get following error while executing rule. <br>
<br>
<b>Not possible to compare a class java.util.<span class="bold">Date</span> with a class java.lang.<span class="bold">String</span></b><br>
<br>
It's actually default <span class="bold">date</span> format so should work, why is it complaining for class casting? Am I doing something wrong here?</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
BancTec Limited.<br>
Registered Office: Jarman House, Mathisen Way, Poyle Road, Colnbrook, Berkshire SL3 0HF. Incorporated in England & Wales : 1283512. VAT : GB 228 4783 38.<br>
</font>
</body>
</html>