On 18 Feb 2011, at 15:30, Bertrand Delacretaz wrote: > On Sat, Feb 12, 2011 at 2:30 AM, Justin Edelson > <[email protected]> wrote: >> ...I was thinking that if sling:resourceType is multi-valued, the first >> value should be used and a warning logged.... > > I think I'd fail loudly on that one, it could be very confusing to > troubleshoot otherwise?
Having spent some time in a debugger with resource type and servlet resolution getting extreemly confused about the bindings to servlets, opting servlets and selectors.... simple would be better. Also > result = > node.getProperty(JcrResourceConstants.SLING_RESOURCE_TYPE_PROPERTY).getValue().getString(); > } is going to be used all over the place in client code since sling:resourceType has been assumed by many to be part of a defacto schema. Ian > > -Bertrand
