jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sena Gbeckor-Kove" <sena...@gmail.com>
Subject Re: proble registering NodeType's with CND file
Date Fri, 03 Mar 2006 14:38:03 GMT
Hi John,

I chnaged the spelling before the reply, bu thanks for takig the ime. The
problem seems to have been caused by m failure to register the mix prefix.

Regards

On 02/03/06, John Mettraux <jmettraux@openwfe.org> wrote:
>
> Hi,
>
> On 3/2/06, Sena Gbeckor-Kove <senagbe@gmail.com> wrote:
> > Hi,
> >
> > II am trying o register NodeType's from a CND file. I am using code
> > identical to the example in the JackRabbit documentation to load a CND
> file.
> > However I am getting a parseing error from the Lexer. As far as II can
> tell
> > my (very simple) CND file should work. Could somebody please have a
> look?
> >
> > The CND in question is a s follows line 10 referred to in the exception
> is
> > the last one :
> >
> > /* The JDepot Node Type Definitions expressed in CND */
> >
> > // Namespace declaration
> > <ns = 'http://epo.org/jdepot'>
> >
> > // Name
> > [ns:depot]
> >
> > // Supertypes
> > > mix:referenceable
> >
> > The following exception is reported :
> >
> > org.apache.jackrabbit.core.nodetype.compact.ParseException: Error while
> > parsing 'mix:referencable' (src/test/config/depot.cnd, line 10)
>
> referenceable ?
>
> Maybe the .cnd file contains 'mix:referencable' instead of
> 'mix:referenceable'.
>
>
> Regards,
>
> --
> John Mettraux   -///-   http://www.openwfe.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message