You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by tr...@apache.org on 2005/02/10 15:31:25 UTC
svn commit: r153226 -
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
Author: tripod
Date: Thu Feb 10 06:31:22 2005
New Revision: 153226
URL: http://svn.apache.org/viewcvs?view=rev&rev=153226
Log:
- nodes with supertype mix:versionable did not save
Modified:
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml?view=diff&r1=153225&r2=153226
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml Thu Feb 10 06:31:22 2005
@@ -269,22 +269,25 @@
<supertypes>
<supertype>mix:referenceable</supertype>
</supertypes>
- <propertyDef name="jcr:versionHistory" requiredType="Reference" autoCreate="false" mandatory="true" onParentVersion="COPY" protected="true" multiple="false">
+ <!-- spec defines this property as mandatory, but jackrabbit implementation needs it non-mandatory for proper initialization -->
+ <propertyDef name="jcr:versionHistory" requiredType="Reference" autoCreate="false" mandatory="false" onParentVersion="COPY" protected="true" multiple="false">
<valueConstraints>
<valueConstraint>nt:versionHistory</valueConstraint>
</valueConstraints>
</propertyDef>
- <propertyDef name="jcr:baseVersion" requiredType="Reference" autoCreate="false" mandatory="true" onParentVersion="IGNORE" protected="true" multiple="false">
+ <!-- spec defines this property as mandatory, but jackrabbit implementation needs it non-mandatory for proper initialization -->
+ <propertyDef name="jcr:baseVersion" requiredType="Reference" autoCreate="false" mandatory="false" onParentVersion="IGNORE" protected="true" multiple="false">
<valueConstraints>
<valueConstraint>nt:version</valueConstraint>
</valueConstraints>
</propertyDef>
- <propertyDef name="jcr:isCheckedOut" requiredType="Boolean" autoCreate="true" mandatory="true" onParentVersion="IGNORE" protected="true" multiple="false">
+ <propertyDef name="jcr:isCheckedOut" requiredType="Boolean" autoCreate="true" mandatory="false" onParentVersion="IGNORE" protected="true" multiple="false">
<defaultValues>
<defaultValue>true</defaultValue>
</defaultValues>
</propertyDef>
- <propertyDef name="jcr:predecessors" requiredType="Reference" autoCreate="false" mandatory="true" onParentVersion="COPY" protected="true" multiple="true">
+ <!-- spec defines this property as mandatory, but jackrabbit implementation needs it non-mandatory for proper initialization -->
+ <propertyDef name="jcr:predecessors" requiredType="Reference" autoCreate="false" mandatory="false" onParentVersion="COPY" protected="true" multiple="true">
<valueConstraints>
<valueConstraint>nt:version</valueConstraint>
</valueConstraints>