Hi,

yes the intent is to support multiple aliases - at least for resolution.
But this is not implemented like this (yet) ...

Regards
Felix

On 27.01.2010 10:32, Vidar Ramdal wrote:
> 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
> 

Reply via email to