jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Gavazuk" <antongava...@gmail.com>
Subject Re: Problems with XPath query - no result
Date Fri, 12 Sep 2008 08:14:13 GMT
Hi Guys,

please, do you have an idea why its behaving in such way?

2008/9/11 Anton Gavazuk <antongavazuk@gmail.com>:
> HI all,
> get stuck with a problem
>
> my repository looks like
> /jcr:root/
>   -----A/nt:unstructured
>        ------B/nt:unstructured
>               -file / nt:file
>                 ....
>               -file
>
> the problem is that queries like
>
> //element(*, nt:file)
> /jcr:root//element(*, nt:file)
> /jcr:root/A/B/element(*, nt:file)
>
> dont return result at all
>
> but query below works fine
> /jcr:root/A/B
>
> And the most strange thing that ALL queries work fine when I'm testing
> them in JCR Explorer
>
> Could you give me advice what is the issue?
>

Mime
View raw message