jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@gbiv.com>
Subject Re: encoding jcr names
Date Wed, 18 May 2005 04:03:44 GMT
On May 17, 2005, at 1:04 PM, Brian Moseley wrote:

> section 6.2.5.2 of the jcr spec (0.16.3) disallows several characters 
> in jcr names. my webdav server needs to be able to support nodes with 
> names containing at least one of these characters ("'"). what's the 
> best strategy for handling this requirement?

That changed in the final versions of the spec.  IIRC, replace the
character "'" with "_x0027_" (i.e., underscore x UTF-16-hex underscore).
That's from memory, but I'm sure Peeter will correct me if I forgot
something.  The convention is from some obscure XML NAMES standard.

....Roy


Mime
View raw message