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 2023/06/21 11:38:00 UTC
[jira] [Comment Edited] (OAK-74) avoid use of "internal" namespace
[ https://issues.apache.org/jira/browse/OAK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624793#comment-13624793 ]
Julian Reschke edited comment on OAK-74 at 6/21/23 11:37 AM:
-------------------------------------------------------------
Using a non-URI as a namespace name makes it impossible to properly parse expanded names. The algorithm for that relies on a colon being present between {{"{"}} and {{"}"}}.
If this *does* work in Oak it means that the parser is broken in that it will confuse "{a}b" with a valid non-expanded JCR name. This is the case for classic Jackrabbit, see <https://issues.apache.org/jira/browse/JCR-2288>
was (Author: reschke):
Using a non-URI as a namespace name makes it impossible to properly parse expanded names. The algorithm for that relies on a colon being present between "{" and "}".
If this *does* work in Oak it means that the parser is broken in that it will confuse "{a}b" with a valid non-expanded JCR name. This is the case for classic Jackrabbit, see <https://issues.apache.org/jira/browse/JCR-2288>
> avoid use of "internal" namespace
> ---------------------------------
>
> Key: OAK-74
> URL: https://issues.apache.org/jira/browse/OAK-74
> Project: Jackrabbit Oak
> Issue Type: Wish
> Components: core
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: OAK-74.patch
>
>
> We should try to avoid using the "internal" namespace in Oak (reminder: the string "internal" is not a valid URI)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)