I am using 1.4.  I shall move to the latest, and try it out.

On Thu, Sep 18, 2008 at 5:39 PM, Marcel Reutegger
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> what version of jackrabbit are you using? this is probably caused by
> https://issues.apache.org/jira/browse/JCR-1408 and has been fixed in
> 1.4.2.
>
> regards
>  marcel
>
> Sridhar Raman wrote:
> > Say I have 5 nodes of type tx:Language - Hindi, Hindustani, English,
> > Haryanvi, Italian.
> >
> > When I run query 1:
> > query1 = /jcr:root/CONTENT/LANGUAGES//element(*,
> > tx:Language)[jcr:like(@tx:name, 'Hi%')]
> > I get 2 results - Hindi, Hindustani.
> >
> > But if I run query 2:
> > query2 = /jcr:root/CONTENT/LANGUAGES//element(*,
> > tx:Language)[jcr:like(fn:lower-case(@tx:name), 'hi%')]
> > I get 3 results - Hindi, Hindustani, Haryanvi.
> >
> > In fact, if I run query 3:
> > query3 = /jcr:root/CONTENT/LANGUAGES//element(*,
> > tx:Language)[jcr:like(fn:upper-case(@tx:name), 'HI%')]
> > I get the same 3 results as for lower-case - Hindi, Hindustani, Haryanvi.
> >
> > Any idea why this is happening?  Or is this expected behaviour?
> >
> > Thanks,
> > Sridhar
> >
>
>

Reply via email to