incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r726979 - /incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd
Date Tue, 16 Dec 2008 07:36:55 GMT
Author: fmeschbe
Date: Mon Dec 15 23:36:55 2008
New Revision: 726979

URL: http://svn.apache.org/viewvc?rev=726979&view=rev
Log:
SLING-780 child nodes of sling:Mapping nodes must be orderable

Modified:
    incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd

Modified: incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?rev=726979&r1=726978&r2=726979&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd
(original)
+++ incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd
Mon Dec 15 23:36:55 2008
@@ -60,5 +60,11 @@
 //   * sling:Resource     -> allow setting the resource type
 //   * nt:hierarchyNode   -> allow placing below nt:folder
 [sling:Mapping] > sling:MappingSpec, sling:Resource, nt:hierarchyNode
+
+    // child node order is significant in the resolution process
+    // so allow for custom child node ordering
+    orderable
+    
+    // allow any child node, but prefer sling:Mapping nodes
   + * (nt:base) = sling:Mapping version
   
\ No newline at end of file



Mime
View raw message