Change node type definition from XML to CND
-------------------------------------------

                 Key: MAGNOLIA-3172
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3172
             Project: Magnolia
          Issue Type: Improvement
          Components: core
    Affects Versions: 4.3.1
            Reporter: Jan Haderka
            Assignee: Philipp Bärfuss
             Fix For: 4.3.x


just to summarize discussion from #modeshape:
- structure of {{magnolia-nodetypes.xml}} is JR specific and not JCR compliant. 
There are few things that need to be fixed such as according to JCR multivalue 
properties such supertypes should be encoded in single value or can be ignored 
by repo (which is what MS does). (see JCR 1.0.1 6.4.2.5/Export)
- CND notation is supported by both JR and MS and doesn't suffer from such issue
- Our node type structure also exposed some bugs in MS, so their dev team 
converted our definition in CND 
(http://jackrabbit.apache.org/node-type-notation.html) notation supported by 
both JR and MS and included it in their test cases 
http://anonsvn.jboss.org/repos/modeshape/trunk/modeshape-jcr/src/test/resources/magnolia.cnd
 

... since the CND is more readable then xml I would be in favor to abandon the 
xml and use CND from now on.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to