jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: How to denote the default namespace?
Date Mon, 28 Dec 2009 08:33:22 GMT

On Thu, Dec 24, 2009 at 12:41 PM, John Tranier <john.tranier@fylab.com> wrote:
> I cannot figure out how to denote the default namespace inside a
> namePattern.

You don't, the pattern mechanism unfortunately doesn't support doing that.

> Basically I want to retrieve all the children of the root node that belongs
> to the default namespace.

The best way to do that is to simply list all the children and
explicitly use a filter like: node.getName().indexOf(':') == -1.


Jukka Zitting

View raw message