jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Special characters in JCR Node names
Date Thu, 28 Jun 2012 07:57:27 GMT
On Wed, Jun 27, 2012 at 10:37 PM, juser <jchacko@maned.com> wrote:
> Does anyone know the list of special characters not allowed in Jackrabbit
> node names?
> For example, when we use a node name like {}*|[]:/   all the characters
> except {} are escaped.
>
> {m is not accepted as a node name and it rerturns a Repository exception
> like "Failed to resolve path {m relative to node /pnode/bnode".
>
> But m} is accepted as a nodename, and doesn't throw any exceptions.
>
> Could you please list out the special characters disallowed in Jackrabbit
> repository?

see [0].

if a name starts with a '{' the name is expected to be in the
'Expanded Form'. see [1].

cheers
stefan


[0] http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.2%20Names
[1] http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.2.5%20Lexical%20Form%20of%20JCR%20Names

>
> Thanks.
>
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/Special-characters-in-JCR-Node-names-tp4655663.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message