jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Mettraux" <jmettr...@openwfe.org>
Subject Re: proble registering NodeType's with CND file
Date Thu, 02 Mar 2006 12:21:57 GMT
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
View raw message