Thank you for your input on this.
We have decided to write a listener that will set the properties once it it
is triggered.

Regards,
Simon


2009/10/5 Alexander Klimetschek <[email protected]>

> On Mon, Oct 5, 2009 at 12:14, Simon Gaeremynck <[email protected]>
> 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
> [email protected]
>

Reply via email to