On 11/1/07, Fabián Mandelbaum <[EMAIL PROTECTED]> 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
