[rules-users] 5.4.0.Beta2 parse error in consequence /* in string

Wolfgang Laun wolfgang.laun at gmail.com
Mon Feb 27 02:38:33 EST 2012


Submitted: JBRULES-3401.

-W


On 24/02/2012, Benjamin Bennett <benbennett at gmail.com> wrote:
> Just passing on I am using the drools 5.4.0Beta2
>
> The following doesn't compile using the mvel dialect .
> rule "some rule"
>  when
> fact: Fact()
> then
> BasicFact fault= new BasicFact( "/*");
> end
>
> but
> rule "some rule"
>  when
> fact: Fact()
> then
> BasicFact fault= new BasicFact( "/ *");
> end
>
> does compile some how /* is being parsed as an expression I think and not a
> string literal.
>
> Thanks,
> Ben
>



More information about the rules-users mailing list