<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=729293008-17012008>Hello 
all</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=729293008-17012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=729293008-17012008>I am using Drools 
4.0.3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=729293008-17012008>I am using a .xml 
rule file in my application in which I am validating the user entered data 
through my rule file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=729293008-17012008>When I am not using 
&lt;pattern /&gt; tag in my rule file then it is working fine but when I use it 
,the rules are not firing even it is not showing any exception 
also.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=729293008-17012008>For your reference I 
am coping my rule file below :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=729293008-17012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=729293008-17012008><FONT size=2><FONT 
color=#0000ff><SPAN class=m>&lt;?</SPAN><SPAN class=pi>xml version="1.0" 
encoding="UTF-8" </SPAN><SPAN class=m>?&gt;</SPAN></FONT> </FONT>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT 
size=2>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;</SPAN><SPAN 
class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>package</FONT></SPAN><SPAN class=ns><FONT color=#ff0000> 
xmlns</FONT></SPAN><SPAN class=m><FONT color=#0000ff>="</FONT></SPAN><B 
class=ns><FONT color=#ff0000>http://drools.org/drools-4.0</FONT></B><SPAN 
class=m><FONT color=#0000ff>"</FONT></SPAN><SPAN class=ns><FONT color=#ff0000> 
xmlns:xs</FONT></SPAN><SPAN class=m><FONT color=#0000ff>="</FONT></SPAN><B 
class=ns><FONT 
color=#ff0000>http://www.w3.org/2001/XMLSchema-instance</FONT></B><SPAN 
class=m><FONT color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>jbossrules</B><SPAN class=m><FONT 
color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
xs:schemaLocation</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B><A 
href="http://drools.org/drools-4.0">http://drools.org/drools-4.0</A> 
drools-4.0.xsd</B><FONT color=#0000ff><SPAN class=m>"</SPAN><SPAN 
class=m>&gt;</SPAN></FONT></FONT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp; </SPAN><SPAN 
class=m>&lt;</SPAN></FONT><SPAN class=t><FONT color=#990000>import</FONT></SPAN> 
<SPAN class=t><FONT color=#990000>name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>com.wipro.evalidator.response.bean.ResponseBean</B><FONT 
color=#0000ff><SPAN class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> 
</FONT></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp; </SPAN><SPAN 
class=m>&lt;</SPAN></FONT><SPAN class=t><FONT color=#990000>global</FONT></SPAN> 
<SPAN class=t><FONT color=#990000>identifier</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>response</B><SPAN class=m><FONT 
color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
type</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>com.wipro.evalidator.response.bean.ResponseBean</B><FONT 
color=#0000ff><SPAN class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> 
</FONT></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp; </SPAN><SPAN 
class=m>&lt;</SPAN></FONT><SPAN class=t><FONT color=#990000>import</FONT></SPAN> 
<SPAN class=t><FONT color=#990000>name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>java.lang.*</B><FONT color=#0000ff><SPAN 
class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> </FONT></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<SPAN class=m><FONT 
color=#0000ff><SPAN class=729293008-17012008>&nbsp;&nbsp;&nbsp; 
</SPAN>&lt;</FONT></SPAN><SPAN class=t><FONT color=#990000>import</FONT></SPAN> 
<SPAN class=t><FONT color=#990000>name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>com.wipro.airline.SearchBean</B><FONT 
color=#0000ff><SPAN class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> 
</FONT></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=729293008-17012008><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></STRONG></SPAN>&nbsp;<SPAN 
class=m><FONT color=#0000ff>&lt;</FONT></SPAN><FONT color=#990000><SPAN 
class=t>rule</SPAN><SPAN class=t> name</SPAN></FONT><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>rule1</B><FONT color=#0000ff><SPAN 
class=m>"</SPAN><SPAN class=m>&gt;</SPAN></FONT></FONT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>rule-attribute</FONT></SPAN> <SPAN class=t><FONT 
color=#990000>name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>agenda-group</B><SPAN class=m><FONT 
color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
value</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>AirlineApp</B><FONT color=#0000ff><SPAN 
class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> </FONT></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>rule-attribute</FONT></SPAN> <SPAN class=t><FONT 
color=#990000>name</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>activation-group</B><SPAN class=m><FONT 
color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
value</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>activation_1195126928297</B><FONT 
color=#0000ff><SPAN class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> 
</FONT></DIV></DIV>
<DIV class=e>
<DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><FONT 
color=#0000ff><SPAN class=729293008-17012008><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>lhs</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN></FONT></DIV>
<DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>pattern</FONT></SPAN> <SPAN class=t><FONT 
color=#990000>identifier</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>searchbean</B><SPAN class=m><FONT 
color=#0000ff>"</FONT></SPAN><SPAN class=t><FONT color=#990000> 
object-type</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>="</FONT></SPAN><B>com.wipro.airline.SearchBean</B><FONT 
color=#0000ff><SPAN class=m>"</SPAN><SPAN class=m> /&gt;</SPAN></FONT> 
</FONT></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>eval</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN><SPAN class=tx><STRONG>true</STRONG></SPAN><SPAN 
class=m><FONT color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT 
color=#990000>eval</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN> </FONT></DIV></DIV>
<DIV><FONT size=2><SPAN class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN 
class=m>&lt;/</SPAN></FONT><SPAN class=t><FONT 
color=#990000>lhs</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN></FONT></DIV></DIV></DIV>
<DIV class=e>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><FONT size=2><SPAN 
class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN>&nbsp;<FONT color=#0000ff><SPAN 
class=729293008-17012008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN 
class=m>&lt;</SPAN></FONT><SPAN class=t><FONT 
color=#990000>rhs</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN></FONT></DIV>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=m></SPAN><FONT 
size=2><SPAN class=tx><SPAN class=729293008-17012008><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><STRONG>System.out.println("date 
is not 
valid.");response.setStatus("failure");response.setSubStatus("date_notvalid");</STRONG></SPAN></FONT></DIV>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=tx></SPAN><FONT 
size=2><SPAN class=m><FONT color=#0000ff><SPAN 
class=729293008-17012008><STRONG><FONT 
color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></STRONG></SPAN>&lt;/</FONT></SPAN><SPAN 
class=t><FONT color=#990000>rhs</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN> </FONT></DIV></DIV>
<DIV><FONT size=2><SPAN class=b><STRONG><FONT face="Courier New" 
color=#ff0000>&nbsp;</FONT></STRONG></SPAN> <SPAN class=m><FONT 
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT 
color=#990000>rule</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=m></SPAN><SPAN class=m><FONT 
color=#0000ff>&lt;/</FONT></SPAN><SPAN class=t><FONT 
color=#990000>package</FONT></SPAN><SPAN class=m><FONT 
color=#0000ff>&gt;</FONT></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2><SPAN class=m></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2><SPAN class=m></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=m><SPAN class=729293008-17012008>If &lt;pattern 
/&gt; tag is not allowed here then how can we use <STRONG>SearchBean</STRONG> 
fields in the <STRONG>lhs</STRONG> part of the rule.</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=m><SPAN class=729293008-17012008>Any help will be 
appreciated.</SPAN></SPAN></FONT></DIV></DIV></DIV>
<DIV><SPAN class=m><FONT color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=m><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV></DIV></DIV></SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Prateek Katiyar</FONT></DIV>
<DIV>&nbsp;</DIV>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
</BODY></HTML>