jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Query on version nodes
Date Thu, 03 Nov 2005 15:29:19 GMT
you may use the class o.a.j.core.util.ISO9075 which is currently in a 
core package.

I'll probably move it to a package that is included with the 
jackrabbit-commons module in the near future.

regards
  marcel

Christophe Lombart wrote:
> Marcel,
> 
> Thanks for your reply.
> Are there some utility methods to encode properly ?
> 
> Christophe
> 
> On 10/31/05, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> 
>>Hi Christophe,
>>
>>that's because xpath does not allow names that start with a digit, you
>>need to encode them properly.
>>
>>e.g. if you are looking for the 1.0 nodes your query would be:
>>
>>/jcr:root/jcr:system//_x0031_.0
>>
>>regards
>>  marcel
>>

Mime
View raw message