jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: free form property names
Date Thu, 29 Jun 2006 14:15:42 GMT
On 6/29/06, Torgeir Veimo <torgeir@pobox.com> wrote:
> I'm trying to define a mixin type with free form property names
>
> This works:
> [nen:resource] mixin
> - nen:created mandatory
> - nen:resourceid mandatory
> - * (string)
>
> While this doesn't:
> [nen:resource] mixin
> - nen:created mandatory
> - nen:resourceid mandatory
> - dep:* (string)
>
> Is it possible to define free form property names with mandatory prefix?

no. see "4.7.15 Residual Definitions" of the spec:
<quote>
When the name attribute (i.e., that returned by getName()) of a
PropertyDefinition or NodeDefinition is "*", this indicates that the
definition is a residual definition.
</quote>

cheers
stefan

>
> --
> -Torgeir
>

Mime
View raw message