jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Scheidegger <willscheideg...@mac.com>
Subject xpath queries with node names consisting of numbers?
Date Sat, 02 Aug 2008 07:38:11 GMT
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

Mime
View raw message