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: Descendant or self axis problem - a known issue?
Date Wed, 15 Apr 2009 11:29:31 GMT
Hi,

On Thu, Apr 9, 2009 at 17:20, Benjamin Brown
<benjamin.brown@thisisnumero.com> wrote:
> In my mind
> /aaa/descendant-or-self::*
> is akin to
> /jcr:root/cms:Views/cms:viewObject/descendant-or-self::node()

that's correct, but it is not equivalent to
/jcr:root/cms:Views/cms:viewObject//*

e.g. compare the results on this page:
http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
for the following queries:

- parent/descendant-or-self::*
- parent//*

regards
 marcel

> and therefore I would expect any *references* on the axis'd node /jcr:root/cms:Views/cms:viewObject/
> to be returned as per their example which returned the axis'd element.
>
> Thanks,
>
> Benjamin
>
>
>

Mime
View raw message