You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Andreas Hartmann <an...@apache.org> on 2005/07/22 14:35:31 UTC
[jcr] Node type declarations in jcr-source.xconf
Hi Cocoon devs,
when I tried the JCR block, I got exceptions re. undefined node types
when nodes were created.
I added the declarations from the JCRSourceFactory javadocs to cocoon.xconf
and everything worked fine:
<folder-node type="nt:folder" new-file="nt:file"/>
<content-node type="nt:resource"
content-prop="jcr:data"
mimetype-prop="jcr:mimeType"
lastmodified-prop="jcr:lastModified"
validity-prop="jcr:lastModified"/>
What is the reason that these settings differ from jcr-source.xconf?
Thanks!
-- Andreas