jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <the.mindstorm.mailingl...@gmail.com>
Subject Re: usage of jcr:path allowed in XPath?
Date Tue, 09 May 2006 10:05:41 GMT
Darn... this is really bad... and unfortunately I cannot see any
solution for it. The main problem is that I could have probably done
this manually if... (damn if) pagination would not have been involved.

Now I have to think about some tricks to be done. For example, let's
say that the nodes under /CCC have a property that is not available on
/AAA and /BBB children. Would it be possible to make use of this in
the XPath? I guess the other way around would work (having in both
/AAA and /BBB children a property that is not available on /CCC).

Please advise. Any ideas will be highly appreciated, as this
represents a critical stopper for my project.

many thanks in advance,

.w( the_mindstorm )p.

On 5/9/06, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> Alexandru Popescu wrote:
> > I have re-read the passages from the JCR spec and what I have found so far:
> >
> > [quote]
> > PATH supports only = and !=
> > [/quote]
> >
> > Also, by searching the ML, I have read that UNION is not supported yet.
> >
> > Are these the solid arguements prooving that I will not be able to
> > perform the previously described type of query?
> correct.
> jcr:path is only 'available' in SQL and not in XPath. the reason is basically that
> there is no notion of a path in a traditional SQL datamodel, so the JCR spec
> introduced this pseudo property.
> regards
>   marcel

View raw message