jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabián Mandelbaum <fmandelb...@gmail.com>
Subject Re: CND Reader Error
Date Thu, 01 Nov 2007 19:19:31 GMT
Thanks! It worked like a charm.

Brian Thompson escribió:
> On 11/1/07, Fabián Mandelbaum <fmandelbaum@gmail.com> wrote:
>   
>> I'm trying to extend the nt:file node type to add more properties to it,
>> and am getting similar errors.
>>
>> mynsFile.cnd has, so far:
>>
>> <myns='http://www.myns/1.0'>
>> [myns:file] > nt:file
>>
>> <snip>
>>
>> Do I have to specify the 'inlcuded' nt namespace for nt:file? Where?
>>
>>
>>     
>
> Yes; put the nt namespace declaration at the top of the file (see my example
> cnd file below).
>
> ==========================
>
> /* orig.namespaces */
> <mix = 'http://www.jcp.org/jcr/mix/1.0'>
> <nt = 'http://www.jcp.org/jcr/nt/1.0'>
>
> /* My namespaces */
> <exm = 'http://www.example.com/jcr-ns/exm'>
>
> [exm:folder] > nt:folder, mix:referenceable
>         orderable
>         - exm:active (boolean) = 'true' mandatory autocreated
>   


Mime
View raw message