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 <[EMAIL PROTECTED]> wrote: > > Hi, > > On 3/2/06, Sena Gbeckor-Kove <[EMAIL PROTECTED]> 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 >
