Michael Korat wrote:
does //*[jcr:contains(.,'some value')] return any result?
Yes, this query returns the nodes just fine. There might be a problem
with using multiple jcr:deref and a predicate in the same query, if the
last element before the predicate is a jcr:deref.
Here are some simplified querys, so you get an idea of what worked and
what didn't:
Empty result:
//jcr:deref()//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jdcr:deref()[EMAIL PROTECTED]'someValue']
Right result:
//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jcr:deref()/element(*,
nt:base)[jcr:contains(.,'someValue']
By the way, the jackrabbit version I use is 1.3.1.
thanks for the info. this looks like a bug in jackrabbit. can you please create
a jira issue? thanks
regards
marcel