Check whether the cell "RuleSet com.sample" has leading spaces. Spaces were not trimmed in 5.1.1 or earlier.<br>-W<br><br><div class="gmail_quote">On 21 April 2011 13:39, Jay <span dir="ltr"><<a href="mailto:mzliang723@gmail.com">mzliang723@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, All!<br>
<br>
I got a question with SpreadSheetCompiler now.<br>
<br>
The story is:<br>
I have two Decision Tables,which are SOP.xls and quotation.xls. When I try<br>
to write a class,named as XLSConverter.java to compile them to drl rule<br>
files,<br>
<br>
I found a strange thing--<br>
<br>
1.The RuleSet of SOP.xls is 'com.my.booking.as.drools', after compiling<br>
SOP.xls, the 'package' value of compiled drl file from SOP.xls is<br>
'com.my.booking.as.drools';<br>
And if I change RuleSet of it to 'com.sample', after compiling, package<br>
value is also 'com.sample', which is normal;<br>
<br>
2.But while RuleSet of quotation.xls is 'com.sample', after compiling<br>
quotation.xls, the package value of compiled drl file from quotation.xls is<br>
'rule_table';<br>
And no matter what I change RuleSet of it to, after compiling it, its<br>
package value is still 'rule_table'.<br>
<br>
Could anybody please help me to explain why is that?<br>
<br>
Any help is appreciated!<br>
<br>
Yours sincerely,<br>
Jay<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-does-SpreadSheetCompiler-work-tp2846694p2846694.html" target="_blank">http://drools.46999.n3.nabble.com/How-does-SpreadSheetCompiler-work-tp2846694p2846694.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>
</font></blockquote></div><br>