jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Gavazuk" <antongava...@gmail.com>
Subject Problems with XPath query - no result
Date Thu, 11 Sep 2008 01:41:08 GMT
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