You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Stefan Guggisberg <st...@gmail.com> on 2011/02/02 12:28:29 UTC

Re: override property definition in node type definition?

On Mon, Jan 31, 2011 at 5:46 PM, sam lee <sk...@gmail.com> wrote:
> Hey, I have this:
>
> <example = 'http://www.example.com/1.0'>
> [example:Base] > nt:base
>    - * (undefined) multiple
>    - * (undefined)
>
> example:Base nodes can have all kinds of properties named anyway.
>
> [example:Derived] > example:Base
>
> In example:Derived, can I override so that only certain properties are
> valid?
>
> I want to mask some of property definitions of example:Base:
>    - * (undefined) multiple
>    - * (undefined)
>

that's unfortunately not possible. node type inheritance supports
aggregation but not overriding of child node/property definitions.

cheers
stefan

>
> Thanks.
> Sam
>