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

Alexander Klimetschek commented on JCR-2301:
--------------------------------------------

I can imagine a (copied/new) cnd parser that does not use the 
QNodeType/Node/PropertyDefinition classes at all. It would directly implement 
the JCR 2.0 NodeTypeDefinition + NodeTypeTemplate et al. classes and 
instantiate them. For parsing valid names, it could directly use the session's 
getNamespaceUri and getNamespacePrefix methods, without using spi's flexible 
NameResolver mechanism.

Any problem that I missed?

> CND support in jackrabbit-jcr-commons
> -------------------------------------
>
>                 Key: JCR-2301
>                 URL: https://issues.apache.org/jira/browse/JCR-2301
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-jcr-commons, nodetype
>            Reporter: Jukka Zitting
>
> It would be nice if the CND parsing functionality in spi-commons could be 
> made available in jcr-commons for use by JCR clients that shouldn't have to 
> know anything about the SPI.

-- 
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