hi,

i have found that if i try to perform a xpath like search with fn:lower-case 
like this

"//element(*, nt:base)[jcr:like(fn:lower-case(@my:keywords), 'KEY%')]"

i get results even though the search string is uppercase.

so i have modified the testcase UpperLowerCaseQueryTest.testLikeComparison() to 
this 

check(new String[]{"foo"},"like", "FO%", new boolean[]{true});

and junit says all ok ...

if i try to use the "=" comparison with a lower-case it only returns results if 
the search string is also lowercase.

bug ?

BR,
claus

Reply via email to