jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r191463 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml
Date Mon, 20 Jun 2005 13:34:37 GMT
Author: tripod
Date: Mon Jun 20 06:34:35 2005
New Revision: 191463

URL: http://svn.apache.org/viewcvs?rev=191463&view=rev
Log:
- adding missing 'ABORT' value constraints
- protecting jcr:nodeTypes

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?rev=191463&r1=191462&r2=191463&view=diff
==============================================================================
--- 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
Mon Jun 20 06:34:35 2005
@@ -165,6 +165,7 @@
                 <valueConstraint>INITIALIZE</valueConstraint>
                 <valueConstraint>COMPUTE</valueConstraint>
                 <valueConstraint>IGNORE</valueConstraint>
+                <valueConstraint>ABORT</valueConstraint>
             </valueConstraints>
         </propertyDefinition>
         <propertyDefinition name="jcr:protected" requiredType="Boolean" autoCreated="false"
mandatory="true" onParentVersion="COPY" protected="false" multiple="false"/>
@@ -200,6 +201,7 @@
                 <valueConstraint>INITIALIZE</valueConstraint>
                 <valueConstraint>COMPUTE</valueConstraint>
                 <valueConstraint>IGNORE</valueConstraint>
+                <valueConstraint>ABORT</valueConstraint>
             </valueConstraints>
         </propertyDefinition>
         <propertyDefinition name="jcr:protected" requiredType="Boolean" autoCreated="false"
mandatory="true" onParentVersion="COPY" protected="false" multiple="false"/>
@@ -349,9 +351,14 @@
         <supertypes>
             <supertype>nt:base</supertype>
         </supertypes>
-        <childNodeDefinition name="jcr:versionStorage" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="true" onParentVersion="ABORT" protected="true" sameNameSiblings="false">
+        <childNodeDefinition name="jcr:versionStorage" defaultPrimaryType="rep:versionStorage"
autoCreated="false" mandatory="true" onParentVersion="ABORT" protected="true" sameNameSiblings="false">
             <requiredPrimaryTypes>
-                <requiredPrimaryType>nt:base</requiredPrimaryType>
+                <requiredPrimaryType>rep:versionStorage</requiredPrimaryType>
+            </requiredPrimaryTypes>
+        </childNodeDefinition>
+        <childNodeDefinition name="jcr:nodeTypes" defaultPrimaryType="rep:nodeTypes" autoCreated="false"
mandatory="true" onParentVersion="ABORT" protected="true" sameNameSiblings="false">
+            <requiredPrimaryTypes>
+                <requiredPrimaryType>rep:nodeTypes</requiredPrimaryType>
             </requiredPrimaryTypes>
         </childNodeDefinition>
         <childNodeDefinition name="*" defaultPrimaryType="nt:unstructured" autoCreated="false"
mandatory="false" onParentVersion="IGNORE" protected="false" sameNameSiblings="true">



Mime
View raw message