[
https://issues.apache.org/jira/browse/OAK-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339449#comment-16339449
]
Julian Reschke commented on OAK-5089:
-------------------------------------
Proposed change (starting point while we work on the actual implementation):
https://issues.apache.org/jira/secure/attachment/12907721/OAK-5089.diff
> Document illegal item names 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
> Assignee: Julian Reschke
> Priority: Major
> Fix For: 1.10
>
> Attachments: OAK-5089.diff
>
>
> 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
(v7.6.3#76005)