Check whether the cell &quot;RuleSet com.sample&quot; 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">&lt;<a href="mailto:mzliang723@gmail.com">mzliang723@gmail.com</a>&gt;</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 &#39;com.my.booking.as.drools&#39;, after compiling<br>
SOP.xls, the &#39;package&#39; value of compiled drl file from SOP.xls is<br>
&#39;com.my.booking.as.drools&#39;;<br>
And if I change RuleSet of it to &#39;com.sample&#39;, after compiling, package<br>
value is also &#39;com.sample&#39;, which is normal;<br>
<br>
2.But while RuleSet of quotation.xls is &#39;com.sample&#39;, after compiling<br>
quotation.xls, the package value of compiled drl file from quotation.xls is<br>
&#39;rule_table&#39;;<br>
And no matter what I change RuleSet of it to, after compiling it, its<br>
package value is still &#39;rule_table&#39;.<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>