jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Combined attribute test on childnode for xpath query
Date Fri, 13 Jul 2007 08:32:49 GMT
Christoph Kiehl wrote:
> Could you give me a pointer what has to be done to support this? Is it a 
> desirable feature at all?

It certainly is a desirable feature, but I wouldn't invest too much time at this 
point because we will soon start with changes / enhancements for JCR 2.0.

> Or is it maybe easier to implement support for the ancestor axis? The 
> query could be rewritten like this:
> //element(*, nt:foo)/test[@foo='a' and @bar='b']/..

yes, that's probably easier. because the query tree structure is quite limited 
when it comes to predicates.


View raw message