<br> Check the DRL preview in the eclipse plugin... it may give you an idea of why it is not expanding...<br><br> []s<br> Edson<br><br><div class="gmail_quote">2008/4/16 vester_s <<a href="mailto:s4nnym@gmail.com">s4nnym@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I try to change the trailing spaces, but it still giving me the same error<br>
messages.<br>
The other rules in that dsl is also using this format<br>
[then]<br>
some word = some rules<br>
<br>
there seems to be working fine for the others though.<br>
Is there any other error possibility?<br>
<br>
thanks,<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Edson Tirelli-3 wrote:<br>
><br>
> DSL is space mandatory, but insensitive, it that makes any sense... :)<br>
> My guess is that when you write a mapping like that:<br>
><br>
> showing popup thing =<br>
><br>
> You are say that there must be 1 or more spaces in the end of the<br>
> statement.<br>
> Try removing the space and it should work:<br>
><br>
> showing popup thing=<br>
><br>
> PS: Internally, all spaces are converted into \s+<br>
><br>
> []s<br>
> Edson<br>
><br>
> 2008/4/15 vester_s <<a href="mailto:s4nnym@gmail.com">s4nnym@gmail.com</a>>:<br>
><br>
>><br>
>> Hi,<br>
>><br>
>> I have a DSL file like this<br>
>> [then]showing popup thing = foo.put("showing","ON");<br>
>><br>
>> and a DRL file like this<br>
>> Rule "popup"<br>
>> no-loop tru<br>
>> when<br>
>> ....<br>
>> then<br>
>> showing popup thing<br>
>> end<br>
>><br>
>> It keeps giving me an error<br>
>> "Unable to expand: showing popup thing. Due to Expression was not<br>
>> expandable: showing popup thing"<br>
>><br>
>> The other rules is working fine, i couldn't find any problem with this<br>
>> DSL<br>
>> and DRL. Anybody can help?<br>
>><br>
>> thanks,<br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16707000.html" target="_blank">http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16707000.html</a><br>
>> Sent from the drools - user mailing list archive at Nabble.com.<br>
>><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>
>><br>
><br>
><br>
><br>
> --<br>
> Edson Tirelli<br>
> JBoss Drools Core Development<br>
> Office: +55 11 3529-6000<br>
> Mobile: +55 11 9287-5646<br>
> JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
><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>
><br>
><br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16727267.html" target="_blank">http://www.nabble.com/DSL-Rules-error-%3A-unable-to-expand-tp16707000p16727267.html</a><br>
<div><div></div><div class="Wj3C7c">Sent from the drools - user mailing list archive at Nabble.com.<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>