On 5/24/07, <b class="gmail_sendername">Scott Reed</b> &lt;<a href="mailto:sreed@spamcop.net">sreed@spamcop.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Unless I never looked at the name except in the source code, I don&#39;t see the much point in having<br>two names that can be distinguished (due to hashcode inclusion) but have been semantically<br>disconnected from the source code rules. If an error occurs in one of those rules, how will you know
<br>which one the message refers to? How will you make sense out of the log? It makes more sense to me<br>to replace non-alphanumeric characters with alphanumerics as Ron&#39;s team member proposed.</blockquote><div><br>Yeah, it&#39;s true that including a hashcode allows you to go from the &quot;real&quot; name to a unique generated one, but doesn&#39;t really help you go back the other way, unless you ALSO store the original name as a string in the rule, where you can use it to refer to the rule by name in exceptions and so forth.
<br></div><br>An alpha replacement could be difficult given the number of potential non-alpha characters.<br><br>The other option, probably more work, would simply be to improve the validation and error reporting such that it was clear which two special-characters-included rules conflicted, and why they conflict.
<br><br>e.g. &quot;RNR Qty == RNR Adjustment Qty : 100% Tolerance&quot; has the same translated rules name as &quot;RNR Qty &gt;= RNR Adjustment Qty : 100% Tolerance&quot;; please rename one of these rules.<br><br>That&#39;d make the problem a little more clear, but I don&#39;t like it as much.
<br><br>Anyway -- I&#39;m not writing the code, so I&#39;ll just let Edson et. al figure it out.&nbsp; :)<br><br>&nbsp; - Geoffrey<br></div>-- <br>Geoffrey Wiseman<br>