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

Alexander Klimetschek commented on JCR-3562:
--------------------------------------------

No, that behavior seems right: A "{" starts a qualified name, with the part 
inside the curly braces addressing the full namespace URL:

"{namespace-uri}local-name"

See 
http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.2.5.1%20Expanded%20Form
                
> Adding a child node named {foo fails but bar} works
> ---------------------------------------------------
>
>                 Key: JCR-3562
>                 URL: https://issues.apache.org/jira/browse/JCR-3562
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.6
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: failure-trace.txt, testBracketsInNodeName.patch
>
>
> I'll attach a test patch that demonstrates that addNode("bar}") works but 
> addNode("{foo") fails. 
> AFAIK both are valid child node names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to