[ http://issues.apache.org/jira/browse/JCR-92?page=history ]
Tobias Strasser closed JCR-92:
------------------------------
Resolution: Fixed
applied somewhat modified patch.
Fixed at revision: 159678
> 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