Unless there is an intent to make it case sensitive? But then, use the
Local Variable condition with case-sensitive set...
ab@novell.com wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bug# 552246 created. Nice catch.
>
> Good luck.
>
>
>
>
>
> Geoffrey Carman wrote:
>> Aaron, could you enter this one as a bug for me as well... (I checked
>> the V5 abd v6 configs for this, and it is old, but I did not check how
>> far back it goes).
>>
>> Pub-Event Transform rule, the Handle Renames/Moves, there are a couple
>> of rules that test to see if the cached-object-value and
>> current-object-value are the same or not.
>>
>> Rule name is: move or rename validation in the lastest config.
>>
>> Well the test is:
>> <if-xpath op="true">$cached-object-value = $current-object-value</if-xpath>
>>
>> Or more simply XPATH of $cached-object-value = $current-object-value
>>
>> Well XPATH equality is case sensitive. But these are case insensitive
>> fields.
>>
>> Simply changing to:
>>
>> <if-local-variable mode="nocase" name="cached-object-value"
>> op="equal">$current-object-value$</if-local-variable>
>>
>> Now you get a case insensitive compare. And easier to read, and no XPATH.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJK8HqGAAoJEF+XTK08PnB5LfQP+wZ4Ex2Bv6 jTr4EOFP1WoeWK
> sABfha3FpMIzvHkDQgmLHpTcfgnCe1wyDy5aSpRNLt2SgnJv0Q EH7xO4BNxgX7w3
> LfNx8akAMVrGZd+CM/ncj0WADHE1DyQPWZZkmtxrrYuxrBS38fZX1lQ14aXdubLP
> LmJaD/kJQNDWFvU7ZP+8rJNZ7KP5XJXiCmNX7K9aP0tAYsOdB4ff01LP 9CbskFux
> L3GuTwbx+jqh5aVLbPGpJoA3Wrhl/ImDF57b1dj9lJj895qxc00TUrDR7XjtXiPE
> lXSdV8E59QfLLpqVwPRj3W2dEV4yW+QzK5MbkJMEJ21ztukD5y ZbHAxn6InGmjtk
> f7iIHs7raKtBu+YK5iJKKBpmqHGG48nxtiIehRpyYlRIc5Ic0v y0THfUaliaksbD
> F6eHThe0z2NeeLY4ycFYBdXwD/cV9VtVhzjEc2fT6JHhHX4lDlPRNAH8hts00l/H
> 9w+VM93MXV/5AdFSVRHV1jypWgE6WYu1CP4OhVQTcPx7pHsA9u+zaDDbNnryI V8A
> lfYM4V/OH/sXAQ3i+roJ764mJ/u1A7SsD4oaavnMrU+qegfuwWmvaT6rjljyY7ci
> o/m2C/hMOTJ+CERI6M0haUVT7qSvnbSkONgBEsKtqbewRYeeZ690ETjQ OBuuSpGK
> LvT4yxWX6wSpC8HF3TTb
> =R94O
> -----END PGP SIGNATURE-----