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

Michael Dürig commented on JCR-2301:
------------------------------------

The process needs to be a bit more general. We need the parser to be able to 
generate QNodeTypeDefinitions (SPI usage) and NodeTypeDefinitions (JCR usage). 
So I suggest to split the parser into a front end for lexical/syntactical 
analysis and a back end for generating the specific representation. AFAIR the 
split is more or less there already (see usage of QNodeDefinitionBuilder, 
QNodeTypeDefinitionBuilder, QPropertyDefinitionBuilder). Only the back ends 
would have to be factored out. 

> 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