Hi Will,

This is the same problem as described recently here:
http://markmail.org/message/xyvhkjjsm2igtrhb?q=jackrabbit

So you must use :
/jcr:root/public/_x30_00
or
/jrc:root/public/*[fn:name() = '000']  (only one '/' is needed for
direct children)

--
Sébastien Launay

Will Scheidegger a écrit :
> I have a bunch of nodes with numbers as names. When I try to do an
> xpath query like
>
> /jcr:root/public/000
>
> I get a JCR exception: javax.jcr.query.InvalidQueryException: Parse
> error: data is not a RelationQueryNode
>
> I also tried this:
>
> /jrc:root/public//*[name() = '000']
>
> But it seems like name() is not supported by JCR. Is there a way to do
> this?
> Thanks!
>
> will

Reply via email to