<br>&nbsp;&nbsp;&nbsp; Geoffrey, that is actually a nice Idea... :)<br><br>&nbsp;&nbsp;&nbsp; Will look at implementing it.<br><br>&nbsp;&nbsp;&nbsp; Thanks,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/5/24, Geoffrey Wiseman &lt;<a href="mailto:geoffrey.wiseman@gmail.com">
geoffrey.wiseman@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just a thought -- you could always do something like include the string&#39;s hashcode in the rulename, to ensure that two names that are similar with special-character differences won&#39;t conflict with each other.
<br><br>
<div><span class="q"><span class="gmail_quote">On 5/24/07, <b class="gmail_sendername">Edson Tirelli</b> &lt;<a href="mailto:tirelli@post.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tirelli@post.com
</a>&gt; wrote:</span></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_112bf1df0bfebc8f_3">
<br>&nbsp;&nbsp;&nbsp; Ronald,<br><br>&nbsp;&nbsp;&nbsp; Special characters in the rule names are replaced by &#39;_&#39; as a class will be created with that name. So yes, the given names will generate conflicts.<br>&nbsp;&nbsp;&nbsp; I&#39;m not sure we can do much about it, as transparently generating unique names may cause silent unexpected problems.
<br><br>&nbsp;&nbsp;&nbsp; For now, my recommendation would be for you to use a valid character to differentiate rule names (like prefixing them with numbers or letters, etc). If you or anyone have any better idea on how to handle such situations, just suggest and we can analyze the viability of implementing it.
<br><br>&nbsp;&nbsp;&nbsp; []s<br>&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/5/24, Ronald R. DiFrango &lt;<a href="mailto:ron.difrango@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ron.difrango@gmail.com
</a>&gt;:</span><div><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All,<br><br>I am now getting the following error:<br><br>The type Rule_RNR_Qty____RNR_Adjustment_Qty___100__Tolerance_0 is already defined&nbsp;&nbsp;&nbsp; RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules&nbsp;&nbsp;&nbsp; rtv.drl&nbsp;&nbsp;&nbsp; line 758&nbsp;&nbsp;&nbsp; 1180017847586&nbsp;&nbsp;&nbsp; 29221
<br><br>But I do not have this defined twice, well at least not in my mind.&nbsp; Here are the two rule names that are conflicting:<br><br>&quot;RNR Qty == RNR Adjustment Qty : 100% Tolerance&quot;<br>&quot;RNR Qty &gt;= RNR Adjustment Qty : 100% Tolerance&quot;
<br><br>So it appears as though the rule names are not taking into account &quot;special&quot; characters.<br><br>Is this to be expected?<br><br>Ron<br>
</blockquote></span></div></div><span><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ 
<a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.jboss.com</a>
</span><br></span></div><span class="q">_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
rules-users@lists.jboss.org</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></span></blockquote>
</div>
<br><br clear="all"><br>-- <br><span class="sg">Geoffrey Wiseman<br>
</span><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">
www.jboss.com</a>