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 6.6.3.3.


regards
 marcel

Reply via email to