the resulting xpath search in the testcase looks like this testroot/*[jcr:like(fn:lower-case(@prop1), 'FO%')]
BR, claus -----Ursprüngliche Nachricht----- Von: KÖLL Claus [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 06. Dezember 2007 09:14 An: [email protected] Betreff: lower case search bug ? 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
