jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Querying with XPath using mixin types
Date Thu, 04 May 2006 14:40:42 GMT
Hi Cedric,

Cedric Bosdonnat wrote:
> Ok, I found the error: my type was inheriting from nt:base and that make
> the query fail... but I don't know why. Now it works :)

can you please file a jira issue? this seems odd and should work.

> However, the following query still doesn't work:
> //*[jcr:like(@jcr:mixinTypes, '%my:type%')]
> It should return the same result as //element(*, my:type), or am I wrong ?

this is not supported and never will be. the jcr:like() function is only 
able to operate on string values. jcr:mixinTypes is of type NAME. see 
also jcr spec section


View raw message