jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gft <gianfranco.togn...@gmail.com>
Subject strange query
Date Fri, 04 Jun 2010 07:22:34 GMT

I'm working with jackrabbit 2.0.1

I have the following query (that I thought should be correct):
//element(*, xyz:tag)[@xyz:owner = '%s' and jcr:deref(@xyz:documentRef,
'*')/@xyz:public = 'true']

where xyz is a namespace I defined and xyz:documentRef's type is 'Reference'

I get an error during the compilation of the query


I found that this other query works:
//element(*, xyz:tag)[@xyz:owner = '%s'][jcr:deref(@xyz:documentRef,
'*')/@xyz:public = 'true']

but I don't find any documentation about this feature.

can somebody help me? why it works?

thank you 
-- 
View this message in context: http://jackrabbit.510166.n4.nabble.com/strange-query-tp2242779p2242779.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message