[ http://issues.apache.org/jira/browse/JCR-92?page=comments#action_61890 ] Tobias Strasser commented on JCR-92: ------------------------------------
btw: patch was provided by angela > Change defaultValues format in NodeTypes XML to jcr value > --------------------------------------------------------- > > Key: JCR-92 > URL: http://issues.apache.org/jira/browse/JCR-92 > Project: Jackrabbit > Type: Improvement > Environment: jackrabbit r159582 > Reporter: Tobias Strasser > Priority: Minor > Attachments: local.159582.diff > > currently, the defaultValues serialization in the nodetypes.xml is the only > one that uses internal value serialization, rather than the jcr string > serialization. > eg: > <propertyDef name="jcr:requiredPrimaryTypes" ..... > > <defaultValues> > <defaultValue>{http://www.jcp.org/jcr/nt/1.0}base</defaultValue> > </defaultValues> > </propertyDef> > this in not very handy, when the custom_nodetypes.xml should be written > automatically. > i suggest to change the serialization to use the jcr value one: > <propertyDef name="jcr:requiredPrimaryTypes" ..... > > <defaultValues> > <defaultValue>nt:base</defaultValue> > </defaultValues> > </propertyDef> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
