Agreed, it appears to be caused by the spreadsheet substituting "dumb" quotation marks with "smart" quotation marks: http://en.wikipedia.org/wiki/Quotation_mark#Smart_quotes
There is a (loosely) related JIRA https://issues.jboss.org/browse/JBRULES-2409 that could perhaps be extended to cover handling of "smart" quotation marks too. 2011/8/26 Wolfgang Laun <[email protected]> > Tools -> AutoCorrect..., Custom Quotes - Double Quotes. > -W > > > 2011/8/26 Manohar Kokkula <[email protected]> > >> I am using Open Office Spreadsheet to create decision table. So what >> should i do to resolve this.. >> Please help me on this. >> >> >> >> >> >> >> >> Regards, >> Manohar Kokkula >> Mailto: [email protected] >> >> [email protected] wrote: ----- >> >> To: Rules Users List <[email protected]> >> From: Wolfgang Laun ** >> Sent by: [email protected] >> Date: 08/26/2011 12:26AM >> Subject: Re: [rules-users] Error is Java.lang.RuntimeException >> >> >> Heh :) Looking at the DRL, I spotted it: >> >> > rule *"*Allocation Rules_10*"* >> > when >> > $s:Student(marks == *"*60", age == "20") >> > $c:College(ranking == "A", location == "Mumbai") >> > then >> >> Up there, all quotes are ASCII quotes, code point U+0022. >> >> > $s.setDepartment(“Maths”); >> > $c.setStatus(“NA”); >> >> But in your spreadsheet you have one of the several other quotation marks >> as defined by the unicode standard, the one the authors of your spreadsheet >> program deemed fit to be sneaked in when you hit shift-2 (or whatever, >> depending on your keyboard). >> >> On 25 August 2011 16:21, FrankVhh <[email protected]> wrote: >> >>> Shouldn't marks and age be integer values and not Strings? >>> >> No, these are converted automatically. >> >> -W >> >> >> >> >>> >>> -- >>> View this message in context: >>> http://drools.46999.n3.nabble.com/rules-users-no-subject-tp3280773p3283990.html >>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>> _______________________________________________ >>> rules-users mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >> >> _______________________________________________ >> rules-users mailing >> [email protected]https://lists.jboss.org/mailman/listinfo/rules-users >> >> ** >> >> =====-----=====-----===== >> Notice: The information contained in this e-mail >> message and/or attachments to it may contain >> >> confidential or privileged information. If you are >> not the intended recipient, any dissemination, use, >> review, distribution, printing or copying of the >> information contained in this e-mail message >> and/or attachments to it are strictly prohibited. If >> >> you have received this communication in error, >> please notify us by reply e-mail or telephone and >> immediately and permanently delete the message >> and any attachments. Thank you >> >> >> >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
