<div dir="ltr">The problem seems to be in the DSL file. Can you give us its contents ?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-21 12:47 GMT+01:00 ankit3j <span dir="ltr">&lt;<a href="mailto:ankit3j@gmail.com" target="_blank">ankit3j@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Below is a sample DSLR code I am trying out. Now I am getting error in &quot;when&quot;<br>
block. After hours of trying to search for a solution I have not yet been<br>
able to detect the error.<br>
<br>
package com.sample<br>
import com.sample.*;<br>
//expander sample.dsl<br>
rule &quot;hello rule&quot;<br>
        when<br>
                There is a &quot;$customer&quot; with first name &quot;David&quot;  // This is<br>
where the error is<br>
        then<br>
                Greet Customer<br>
end<br>
<br>
[ERR 102] Mismatched input &quot;is&quot; in rule &quot;hello rule&quot;<br>
<br>
Any idea whats wrong with this line??<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884.html" target="_blank">http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Maxime FALAIZE
</div>