The sling:alias property is defined as both a single-value and a
multi-value String property [1], which, in my imagination, is a hint
that you should be able to set multiple aliases for a resource.

This does not seem to work, and the code of the JcrResourceResolver
seems to assume only single values [2].

So, is this a bug, or can a resource only have a single alias?

[1] 
http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?view=markup#l32
[2] 
http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java?view=markup#l695

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Reply via email to