On Mon, Oct 5, 2009 at 12:14, Simon Gaeremynck <gaeremyn...@gmail.com> wrote: > I think jcr:contains(., 'week') only matches properties and not nodenames > which is how the spec defines it (I think?) so this is good.
AFAIK Jackrabbit will index the node name as well. > Unfortunately, I can't set the filename as a property because these are > files that can be uploaded trough WebDAV. You can write an observation listener that does that (and maybe extracts other metadata as well). > So, there is no way to match a nodename trough an XPATH query? As I said, you can use fn:name() for exact matches on the node name, but not for wildcards. I think the new JQOM in JCR 2.0 supports that better, but I don't know how the query would like exactly. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com