jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Thompson" <elephant...@gmail.com>
Subject Re: CND Reader Error
Date Thu, 01 Nov 2007 17:24:21 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message