jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Gonschorek (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1194) Update / Fix Documentation for CND Notation
Date Mon, 29 Oct 2007 16:20:51 GMT
Update / Fix Documentation for CND Notation

                 Key: JCR-1194
                 URL: https://issues.apache.org/jira/browse/JCR-1194
             Project: Jackrabbit
          Issue Type: Improvement
          Components: docs
            Reporter: Felix Gonschorek
            Priority: Minor

I started to learn Jackrabbit / JCA, but there was a documentation bug that took me long to
figure out.

This is related to the CND documentation under http://jackrabbit.apache.org/doc/nodetype/cnd.html

I could not import my namespace and NodeType definition, until i 

a) created the namespace in my repository (it's obvious i need to do this, but i thought,
the namespace declaration on top of the cnd file would do this)
b) i declare the namespace "nt" in addition to my own namespace. i could not import anything
but an empty node type, until i did this

eg. not just:


i needed to declare:

<nt = 'http://www.jcp.org/jcr/nt/1.0'>

before anything works. otherwise i got a strange exception (could not parse node type definition
at "["??)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message