jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Zamosenchuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2275) some legal jcr names cause unneccessary server-roundtrips
Date Wed, 02 Sep 2009 08:22:32 GMT

    [ https://issues.apache.org/jira/browse/JCR-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750326#action_12750326
] 

Nikolay Zamosenchuk commented on JCR-2275:
------------------------------------------

What if "{}foo" ? 

Expanded form allows Namespace to be either Empty string or uri. So "{}foo" can also be expanded
name with empty ns (§3.2.5.1,  §3.2.1) and can be qualified name with empty ns prefix (§3.2.5.2).

> some legal jcr names cause unneccessary server-roundtrips 
> ----------------------------------------------------------
>
>                 Key: JCR-2275
>                 URL: https://issues.apache.org/jira/browse/JCR-2275
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>            Reporter: Stefan Guggisberg
>         Attachments: JCR-2275.patch
>
>
> assume the following legal qualified jcr names:
> "{foo}"
> "{foo} bar"
> when items with such names are read from the spi layer, they are first interpreted as
expanded form names.
> a prefix lookup for namespace 'foo' fails and the name is treated as qualified jcr name.
> => depending on the spi implementation, a server-roundtrip is required in order to
determine that 'foo' is not a
> registered namespace. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message