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

Reply via email to