[Hippo-cms7-user] Error in prototype definition

Ard Schrijvers a.schrijvers at onehippo.com
Mon Dec 6 09:51:54 CET 2010


On Mon, Dec 6, 2010 at 9:36 AM, Jeroen Reijn <j.reijn at onehippo.com> wrote:
> Also make sure that if you export and import the order of the sequence
> numbers are correct. The .cnd should be importerd first and then the
> prototypes.

Good point!

> Jeroen
>
> On Mon, Dec 6, 2010 at 9:31 AM, Ard Schrijvers <a.schrijvers at onehippo.com>
> wrote:
>>
>> On Mon, Dec 6, 2010 at 9:16 AM, Roald Bankras <roald at bankras.net> wrote:
>> >
>> > Good morning
>> >
>> > I have a namespace definition with a problem. I've tried to find the
>> > source
>> > of the problem by exporting the resulting XML, but I'm unable to fix
>> > this.
>> >
>> > When I startup a clean repository I get the following error in my log:
>> >
>> > 06.12.2010 09:09:56 ERROR
>> >
>> > [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():714]
>> > Error initializing content for jar:file:/..../cms/target/work/webapp/WEB
>> > -INF/lib/content-1.0-SNAPSHOT.jar!/my-namespace.xml in
>> > '/hippo:namespaces' :
>> > javax.jcr.nodetype.NoSuchNodeTypeException:
>> > {http://www.hippoecm.org/hst/nt/my/1.0}product
>>
>> Do you have in your my.cnd something like this:
>>
>> [my:product] > ......
>>
>> Furthermore, is the namespace in the my.cnd equal to
>>
>> my=http://www.hippoecm.org/hst/nt/my/1.0  (or
>> my='http://www.hippoecm.org/hst/nt/my/1.0')
>>
>> And last thing: Does the hippoecm-extensions.xml contain something like
>>
>> <sv:node sv:name="my">
>>    <sv:property sv:name="jcr:primaryType" sv:type="Name">
>>      <sv:value>hippo:initializeitem</sv:value>
>>    </sv:property>
>>    <sv:property sv:name="hippo:sequence" sv:type="Double">
>>      <sv:value>someLONG</sv:value>
>>    </sv:property>
>>    <sv:property sv:name="hippo:namespace" sv:type="String">
>>      <sv:value>http://www.hippoecm.org/hst/nt/my/1.0</sv:value>
>>    </sv:property>
>>    <sv:property sv:name="hippo:nodetypesresource" sv:type="String">
>>      <sv:value>my.cnd</sv:value>
>>    </sv:property>
>>  </sv:node>
>>
>> Regards Ard
>>
>>
>> >
>> > Does anyone have any clues?
>> >
>> > regards
>> > Roald
>> > --
>> > View this message in context:
>> > http://hippo.2275632.n2.nabble.com/Error-in-prototype-definition-tp5806970p5806970.html
>> > Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
>> > _______________________________________________
>> > Hippo-cms7-user mailing list and forums
>> > http://www.onehippo.org/cms7/support/forums.html
>> >
>>
>>
>>
>> --
>> Hippo
>> Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522
>> 4466
>> USA  • San Francisco 755 Baywood Drive, Second Floor •  Petaluma, CA.
>> 94954 •  +1 877 414 4776 (toll free)
>> Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
>> H2T 1S5  •  +1 (514) 316 8966
>> www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
>> ________________________________________________________________
>> This e-mail may be privileged and/or confidential, and the sender does
>> not waive any related rights and obligations. Any distribution, use or
>> copying of this e-mail or the information it contains by other than an
>> intended recipient is unauthorized. If you received this e-mail in
>> error, please advise me (by return e-mail or otherwise) immediately.
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
>
>
>
> --
> Hippo
> ----------------------------------------------------------------------------------------------
> Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522
> 4466
> USA  • 755 Baywood Drive Second Floor  •  Petaluma CA. 94954
> •  +1 877 414-4776 (toll free)
> Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
> H2T 1S5  •  +1 (514) 316 8966
> ----------------------------------------------------------------------------------------------
> www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
> ----------------------------------------------------------------------------------------------
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco 755 Baywood Drive, Second Floor •  Petaluma, CA.
94954 •  +1 877 414 4776 (toll free)
Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.



More information about the Hippo-cms7-user mailing list