jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Error creating file with square brackets in filename
Date Mon, 17 May 2010 09:34:16 GMT
On Mon, May 17, 2010 at 8:49 AM, David Gough
<bagel10002000@googlemail.com> wrote:
> ...Some characters are illegal in node names and need escaping when persisting
> and using in paths and XPath queries.
>
> There are handy utility classes provided for this which I unfortunately
> discovered too late in my project :(...

See Text.escapeIllegalJcrChars(String), for example, in the
jackrabbit-jcr-commons module.
-Bertrand

Mime
View raw message