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

Stefan Guggisberg commented on JCR-2288:
----------------------------------------

> i consider this to be part of JCR-1564 which should address the modified, 
> more flexiable namespace handling.

i don't agree. NameParser should IMO not rely on the namespace registry, static 
analysis should be sufficient (see also JCR-2275).

> o.a.jackrabbit.spi.commons.conversion.NameParser should not assume that 
> namespace URI's are registered
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2288
>                 URL: https://issues.apache.org/jira/browse/JCR-2288
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi-commons
>            Reporter: Stefan Guggisberg
>
> according to JCR 2.0, "3.4.3.4 Parsing Lexical Paths":
> <quote>
> An otherwise valid path containing an expanded name with an unregistered 
> namespace URI will always resolve into a valid internal representation of a 
> path 
> </quote>
> the current implementation assumes that namespace URIs encountered in 
> expanded form names are registered, otherwise the name is treated as
> qualified name. 

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

Reply via email to