[ 
https://issues.apache.org/jira/browse/OAK-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Klimetschek updated OAK-5089:
---------------------------------------
    Description: 
>From OAK-4857. Oak like Jackrabbit 2 has limits on valid node/property names 
>in addition to the illegal chars from the JCR spec. This isn't documented yet.

Here is what I know so far:
* illegal node name if entire name is empty or {{.}} or {{..}}
* no length limit (\?)
* otherwise name can have all unicode chars except:
* JCR illegal chars {{/ : \[ ] | *}}
* 
[Character.isWhitespace()|https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isWhitespace(char)],
 except for regular space {{u20}} which is allowed, except first or last char

> Document illegal node name chars in Oak
> ---------------------------------------
>
>                 Key: OAK-5089
>                 URL: https://issues.apache.org/jira/browse/OAK-5089
>             Project: Jackrabbit Oak
>          Issue Type: Documentation
>          Components: doc
>            Reporter: Alexander Klimetschek
>
> From OAK-4857. Oak like Jackrabbit 2 has limits on valid node/property names 
> in addition to the illegal chars from the JCR spec. This isn't documented yet.
> Here is what I know so far:
> * illegal node name if entire name is empty or {{.}} or {{..}}
> * no length limit (\?)
> * otherwise name can have all unicode chars except:
> * JCR illegal chars {{/ : \[ ] | *}}
> * 
> [Character.isWhitespace()|https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isWhitespace(char)],
>  except for regular space {{u20}} which is allowed, except first or last char



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to