jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: Duck typing in Oak
Date Fri, 03 May 2013 07:58:00 GMT
hi jukka

On 4/25/13 11:44 AM, Jukka Zitting wrote:
> Hi,
>
> On Thu, Apr 25, 2013 at 12:34 PM, Angela Schreiber<anchela@adobe.com>  wrote:
>> from a pure node type point of view it was legal to create
>> a node named "rep:policy" underneath a nt:unstructured node.
>> similarly an nt:unstructured node would allow you to create
>> a child of type "rep:ACL"...
>
> See the suggestion about reserved namespaces from my previous post.
>
> I'd guard against such cases by only allowing content in a reserved
> namespace like "rep/internal" to occur when covered by a named item
> definition in a built-in node type.

if that doesn't cause any backwards compatibility issues i am fine
with moving the validation to the node type hook. i have strong feelings
about where the validation occurs as long as it's present.

kind regards
angela


> BR,
>
> Jukka Zitting

Mime
View raw message