You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/01/22 13:24:00 UTC

[jira] [Comment Edited] (OAK-4857) Support space chars common in CJK inside node names

    [ https://issues.apache.org/jira/browse/OAK-4857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15528719#comment-15528719 ] 

Julian Reschke edited comment on OAK-4857 at 1/22/18 1:23 PM:
--------------------------------------------------------------

See previous discussion in OAK-1891. This is supposed to be consistent with Jackrabbit 2.x, and *is* intentional.

I do agree that not rejecting them at the start or end is confusing; if this is the case (\*) this should be considered a bug.

\*) I thought these get *stripped*.

[~tripod] - could you elaborate about how this is a blocker?




was (Author: reschke):
See previous discussion in OAK-1891. This is supposed to be consistent with Jackrabbit 2.x, and *is* intentional.

I do agree that not rejecting them at the start or end is confusing; if this is the case (*) this should be considered a bug.

*) I thought these get *stripped*.

[~tripod] - could you elaborate about how this is a blocker?



> Support space chars common in CJK inside node names
> ---------------------------------------------------
>
>                 Key: OAK-4857
>                 URL: https://issues.apache.org/jira/browse/OAK-4857
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.4.7, 1.5.10
>            Reporter: Alexander Klimetschek
>            Assignee: Julian Reschke
>            Priority: Major
>             Fix For: 1.10
>
>         Attachments: OAK-4857-tests.patch
>
>
> Oak (like Jackrabbit) does not allow spaces commonly used in CJK like {{u3000}} (ideographic space) or {{u00A0}} (no-break space) _inside_ a node name, while allowing some of them (the non breaking spaces) at the _beginning or end_.
> They should be supported for better globalization readiness, and filesystems allow them, making common filesystem to JCR mappings unnecessarily hard. Escaping would be an option for applications, but there is currently no utility method for it ([Text.escapeIllegalJcrChars|https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/util/Text.html#escapeIllegalJcrChars(java.lang.String)] will not escape these spaces), nor is it documented for applications how to do so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)