jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r392910 - /jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml
Date Mon, 10 Apr 2006 09:45:30 GMT
Author: stefan
Date: Mon Apr 10 02:45:27 2006
New Revision: 392910

URL: http://svn.apache.org/viewcvs?rev=392910&view=rev
Log:
restore 'lost' formatting in custom_nodetypes.xml

Modified:
    jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml

Modified: jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml?rev=392910&r1=392909&r2=392910&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml
(original)
+++ jackrabbit/trunk/jackrabbit/applications/test/repository/nodetypes/custom_nodetypes.xml
Mon Apr 10 02:45:27 2006
@@ -1 +1,258 @@
-<?xml version="1.0" encoding="UTF-8"?><nodeTypes xmlns:fn="http://www.w3.org/2004/10/xpath-functions"
xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:rep="internal" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:test="http://www.apache.org/jackrabbit/test"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace"><nodeType
hasOrderableChildNodes="false" isMixin="false" name="test:setProperty" primaryItemName=""><supertypes><supertype>mix:referenceable</supertype><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="test:multiProperty" onParentVersion="COPY"
protected="false" requiredType="undefined"/><propertyDefinition autoCreated="false"
mandatory="false" multiple="false" name="*" onParentVersion="COPY" protected="false" requiredType="undefined"/><childNodeDefinition
autoCreated="false" defa
 ultPrimaryType="test:setProperty" mandatory="false" name="*" onParentVersion="COPY" protected="false"
sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition></nodeType><nodeType
hasOrderableChildNodes="false" isMixin="false" name="DocViewMultiValueTest" primaryItemName=""><supertypes><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="test" onParentVersion="COPY" protected="false"
requiredType="Boolean"/></nodeType><nodeType hasOrderableChildNodes="false" isMixin="false"
name="test:canSetProperty" primaryItemName=""><supertypes><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="ReferenceMultipleConstraints"
onParentVersion="COPY" protected="false" requiredType="Reference"><valueConstraints><valueConstraint>test:canSetProperty</valueConstraint></valu
 eConstraints></propertyDefinition><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="ReferenceConstraints" onParentVersion="COPY" protected="false" requiredType="Reference"><valueConstraints><valueConstraint>test:canSetProperty</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="PathMultipleConstraints" onParentVersion="COPY"
protected="false" requiredType="Path"><valueConstraints><valueConstraint>/abc</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="PathConstraints" onParentVersion="COPY"
protected="false" requiredType="Path"><valueConstraints><valueConstraint>/abc</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="PathMultiple" onParentVersion="COPY"
protected="false" requiredType="Path"/
 ><propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="Path"
onParentVersion="COPY" protected="false" requiredType="Path"/><propertyDefinition autoCreated="false"
mandatory="false" multiple="true" name="NameMultipleConstraints" onParentVersion="COPY" protected="false"
requiredType="Name"><valueConstraints><valueConstraint>abc</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="NameConstraints" onParentVersion="COPY"
protected="false" requiredType="Name"><valueConstraints><valueConstraint>abc</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="NameMultiple" onParentVersion="COPY"
protected="false" requiredType="Name"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="Double" onParentVersion="COPY" protected="false" requiredType="Double"/><propertyDefi
 nition autoCreated="false" mandatory="false" multiple="true" name="DateMultipleConstraints"
onParentVersion="COPY" protected="false" requiredType="Date"><valueConstraints><valueConstraint>(,1974-02-15T00:00:00.000Z)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="DateConstraints" onParentVersion="COPY"
protected="false" requiredType="Date"><valueConstraints><valueConstraint>(1974-02-15T00:00:00.000Z,)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="DateMultiple" onParentVersion="COPY"
protected="false" requiredType="Date"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="Date" onParentVersion="COPY" protected="false" requiredType="Date"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="BinaryMultipleConstraints" onParentVersion="COPY"
pr
 otected="false" requiredType="Binary"><valueConstraints><valueConstraint>(,100)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="BinaryConstraints" onParentVersion="COPY"
protected="false" requiredType="Binary"><valueConstraints><valueConstraint>(,100)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="BinaryMultiple" onParentVersion="COPY"
protected="false" requiredType="Binary"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="Binary" onParentVersion="COPY" protected="false" requiredType="Binary"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="StringMultipleConstraints" onParentVersion="COPY"
protected="false" requiredType="String"><valueConstraints><valueConstraint>abc</valueConstraint><valueConstraint>def</valueConstraint><valueConstra
 int>ghi</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="StringConstraints" onParentVersion="COPY"
protected="false" requiredType="String"><valueConstraints><valueConstraint>abc</valueConstraint><valueConstraint>def</valueConstraint><valueConstraint>ghi</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="StringMultiple" onParentVersion="COPY"
protected="false" requiredType="String"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="String" onParentVersion="COPY" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="DoubleMultiple" onParentVersion="COPY"
protected="false" requiredType="Double"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="false" name="DoubleConstraints" onParentVersion=
 "COPY" protected="false" requiredType="Double"><valueConstraints><valueConstraint>(100,)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="DoubleMultipleConstraints" onParentVersion="COPY"
protected="false" requiredType="Double"><valueConstraints><valueConstraint>(,100)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="Long" onParentVersion="COPY"
protected="false" requiredType="Long"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="true" name="LongMultiple" onParentVersion="COPY" protected="false" requiredType="Long"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="LongConstraints" onParentVersion="COPY"
protected="false" requiredType="Long"><valueConstraints><valueConstraint>(100,)</valueConstraint></valueConstraints></propertyDefinition><propertyDe
 finition autoCreated="false" mandatory="false" multiple="true" name="LongMultipleConstraints"
onParentVersion="COPY" protected="false" requiredType="Long"><valueConstraints><valueConstraint>(,100)</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="Boolean" onParentVersion="COPY"
protected="false" requiredType="Boolean"/><propertyDefinition autoCreated="false" mandatory="false"
multiple="true" name="BooleanMultiple" onParentVersion="COPY" protected="false" requiredType="Boolean"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="BooleanConstraints" onParentVersion="COPY"
protected="false" requiredType="Boolean"><valueConstraints><valueConstraint>true</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="BooleanMultipleConstraints" onParentVersion="COPY"
protected="false" require
 dType="Boolean"><valueConstraints><valueConstraint>true</valueConstraint></valueConstraints></propertyDefinition><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="Name" onParentVersion="COPY"
protected="false" requiredType="Name"/></nodeType><nodeType hasOrderableChildNodes="false"
isMixin="false" name="test:canAddChildNode" primaryItemName=""><supertypes><supertype>nt:base</supertype></supertypes><childNodeDefinition
autoCreated="false" defaultPrimaryType="" mandatory="false" name="testChildWithoutDefaultType"
onParentVersion="COPY" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:base" mandatory="false" name="testChildWithDefaultType"
onParentVersion="COPY" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType>
 </requiredPrimaryTypes></childNodeDefinition></nodeType><nodeType hasOrderableChildNodes="false"
isMixin="true" name="test:referenceable" primaryItemName=""><supertypes><supertype>mix:referenceable</supertype></supertypes></nodeType><nodeType
hasOrderableChildNodes="false" isMixin="false" name="test:sameNameSibsFalseChildNodeDefinition"
primaryItemName=""><supertypes><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="*" onParentVersion="COPY" protected="false"
requiredType="undefined"/><childNodeDefinition autoCreated="false" defaultPrimaryType="test:sameNameSibsFalseChildNodeDefinition"
mandatory="false" name="*" onParentVersion="COMPUTE" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition></nodeType><nodeType
hasOrderableChildNodes="false" isMixin="false" name="test:setPropertyAssumingType" prim
 aryItemName=""><supertypes><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="true" name="test:multiProperty" onParentVersion="COPY"
protected="false" requiredType="undefined"/><propertyDefinition autoCreated="false"
mandatory="false" multiple="false" name="test:singleProperty" onParentVersion="COPY" protected="false"
requiredType="undefined"/><childNodeDefinition autoCreated="false" defaultPrimaryType="test:setPropertyAssumingType"
mandatory="false" name="*" onParentVersion="COPY" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition></nodeType><nodeType
hasOrderableChildNodes="false" isMixin="false" name="test:refTargetNode" primaryItemName=""><supertypes><supertype>mix:versionable</supertype><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" n
 ame="*" onParentVersion="COPY" protected="false" requiredType="undefined"/></nodeType><nodeType
hasOrderableChildNodes="false" isMixin="false" name="test:versionable" primaryItemName=""><supertypes><supertype>mix:versionable</supertype><supertype>nt:base</supertype></supertypes><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="test:abortOnParentVersionProp"
onParentVersion="ABORT" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="test:ignoreOnParentVersionProp"
onParentVersion="IGNORE" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="test:computeOnParentVersionProp"
onParentVersion="COMPUTE" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="test:initializeOnParentVersionProp"
onParentVersion="INITIALIZE" protected="false" requiredT
 ype="String"/><propertyDefinition autoCreated="false" mandatory="false" multiple="false"
name="test:versionOnParentVersionProp" onParentVersion="VERSION" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="test:copyOnParentVersionProp"
onParentVersion="COPY" protected="false" requiredType="String"/><propertyDefinition
autoCreated="false" mandatory="false" multiple="false" name="*" onParentVersion="COPY" protected="false"
requiredType="undefined"/><childNodeDefinition autoCreated="false" defaultPrimaryType="nt:unstructured"
mandatory="false" name="test:abortOnParentVersion" onParentVersion="ABORT" protected="false"
sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:unstructured" mandatory="false" name="test:ignoreOnParentVersion"
onParentVersion="IGNORE" 
 protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:unstructured" mandatory="false" name="test:computeOnParentVersion"
onParentVersion="COMPUTE" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:unstructured" mandatory="false" name="test:initializeOnParentVersion"
onParentVersion="INITIALIZE" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:unstructured" mandatory="false" name="test:versionOnParentVersion"
onParentVersion="VERSION" protected="false" sameNameSiblin
 gs="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="nt:unstructured" mandatory="false" name="test:copyOnParentVersion"
onParentVersion="COPY" protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition><childNodeDefinition
autoCreated="false" defaultPrimaryType="test:versionable" mandatory="false" name="*" onParentVersion="COPY"
protected="false" sameNameSiblings="false"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition></nodeType></nodeTypes>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  The ASF licenses this file to You
+ * under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:rep="internal" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:test="http://www.apache.org/jackrabbit/test"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0">
+  <nodeType name="test:versionable" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+    <supertypes>
+      <supertype>mix:versionable</supertype>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false" />
+    <propertyDefinition name="test:copyOnParentVersionProp" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false" />
+    <propertyDefinition name="test:versionOnParentVersionProp" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="VERSION" protected="false" multiple="false" />
+    <propertyDefinition name="test:initializeOnParentVersionProp" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="INITIALIZE" protected="false" multiple="false"
/>
+    <propertyDefinition name="test:computeOnParentVersionProp" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="COMPUTE" protected="false" multiple="false" />
+    <propertyDefinition name="test:ignoreOnParentVersionProp" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false" />
+    <propertyDefinition name="test:abortOnParentVersionProp" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="ABORT" protected="false" multiple="false" />
+    <childNodeDefinition name="*" defaultPrimaryType="test:versionable" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:copyOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:versionOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="VERSION" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:initializeOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="INITIALIZE" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:computeOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="COMPUTE" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:ignoreOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="test:abortOnParentVersion" defaultPrimaryType="nt:unstructured"
autoCreated="false" mandatory="false" onParentVersion="ABORT" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+  </nodeType>
+
+  <!-- Defines a referenceable nodetype for testing purposes -->
+  <nodeType name="test:refTargetNode" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+    <supertypes>
+      <supertype>mix:versionable</supertype>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+  </nodeType>
+
+  <!-- Defines a nodetype for tests of NodeType.canSetProperty(), Property.setValue()
and Node.setProperty() -->
+  <nodeType name="test:canSetProperty" isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+    <supertypes>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="String" requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="StringMultiple" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="StringConstraints" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>abc</valueConstraint>
+        <valueConstraint>def</valueConstraint>
+        <valueConstraint>ghi</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="StringMultipleConstraints" requiredType="String" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>abc</valueConstraint>
+        <valueConstraint>def</valueConstraint>
+        <valueConstraint>ghi</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Binary" requiredType="Binary" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="BinaryMultiple" requiredType="Binary" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="BinaryConstraints" requiredType="Binary" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>(,100)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="BinaryMultipleConstraints" requiredType="Binary" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>(,100)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Date" requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="DateMultiple" requiredType="Date" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="DateConstraints" requiredType="Date" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>(1974-02-15T00:00:00.000Z,)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="DateMultipleConstraints" requiredType="Date" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>(,1974-02-15T00:00:00.000Z)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Double" requiredType="Double" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="DoubleMultiple" requiredType="Double" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="DoubleConstraints" requiredType="Double" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>(100,)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="DoubleMultipleConstraints" requiredType="Double" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>(,100)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Long" requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="LongMultiple" requiredType="Long" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="LongConstraints" requiredType="Long" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>(100,)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="LongMultipleConstraints" requiredType="Long" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>(,100)</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Boolean" requiredType="Boolean" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="BooleanMultiple" requiredType="Boolean" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="BooleanConstraints" requiredType="Boolean" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>true</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="BooleanMultipleConstraints" requiredType="Boolean" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>true</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Name" requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="NameMultiple" requiredType="Name" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="NameConstraints" requiredType="Name" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>abc</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="NameMultipleConstraints" requiredType="Name" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>abc</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="Path" requiredType="Path" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <propertyDefinition name="PathMultiple" requiredType="Path" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="true"/>
+    <propertyDefinition name="PathConstraints" requiredType="Path" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>/abc</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="PathMultipleConstraints" requiredType="Path" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>/abc</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="ReferenceConstraints" requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
+      <valueConstraints>
+        <valueConstraint>test:canSetProperty</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+    <propertyDefinition name="ReferenceMultipleConstraints" requiredType="Reference" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
+      <valueConstraints>
+        <valueConstraint>test:canSetProperty</valueConstraint>
+      </valueConstraints>
+    </propertyDefinition>
+  </nodeType>
+
+  <!-- Defines a nodetype for testing NodeType.canAddChildNode() -->
+  <nodeType name="test:canAddChildNode" isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+    <supertypes>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <childNodeDefinition name="testChildWithDefaultType" defaultPrimaryType="nt:base"
autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+    <childNodeDefinition name="testChildWithoutDefaultType" defaultPrimaryType="" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+  </nodeType>
+
+  <!-- Defines a nodetype for testing Node.setProperty(). -->
+  <nodeType name="test:setProperty" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+    <supertypes>
+      <supertype>nt:base</supertype>
+      <supertype>mix:referenceable</supertype>
+    </supertypes>
+    <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false" />
+    <propertyDefinition name="test:multiProperty" requiredType="undefined" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true" />
+    <childNodeDefinition name="*" defaultPrimaryType="test:setProperty" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false" />
+  </nodeType>
+
+  <!-- Defines a nodetype to test assuming the PropertyType at Node.setProperty(). -->
+  <nodeType name="test:setPropertyAssumingType" isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+    <supertypes>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="test:singleProperty" requiredType="undefined" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="false" />
+    <propertyDefinition name="test:multiProperty" requiredType="undefined" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" multiple="true" />
+    <childNodeDefinition name="*" defaultPrimaryType="test:setPropertyAssumingType" autoCreated="false"
mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false" />
+  </nodeType>
+
+  <!-- Defines a nodetype with a childNodeDefinition that does not allow same name siblings
-->
+  <nodeType name="test:sameNameSibsFalseChildNodeDefinition" isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
+    <supertypes>
+      <supertype>nt:base</supertype>
+    </supertypes>
+    <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false" multiple="false"/>
+    <childNodeDefinition name="*" defaultPrimaryType="test:sameNameSibsFalseChildNodeDefinition"
autoCreated="false" mandatory="false" onParentVersion="COMPUTE" protected="false" sameNameSiblings="false">
+      <requiredPrimaryTypes>
+        <requiredPrimaryType>nt:base</requiredPrimaryType>
+      </requiredPrimaryTypes>
+    </childNodeDefinition>
+  </nodeType>
+
+
+  <!-- ======================================================== -->
+  <!-- Node type definitions only required for jackrabbit core  -->
+  <!-- (internal) test cases.                                   -->
+  <!-- ======================================================== -->
+
+  <!-- Defines a mixin node type that extends mix:referenceable -->
+  <nodeType isMixin="true" name="test:referenceable" hasOrderableChildNodes="false" primaryItemName="">
+    <supertypes>
+      <supertype>mix:referenceable</supertype>
+    </supertypes>
+  </nodeType>
+</nodeTypes>



Mime
View raw message