You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2008/12/16 08:36:55 UTC
svn commit: r726979 -
/incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd
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