You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/01/12 20:02:03 UTC

[jira] Moved: (JCRSITE-6) Update / Fix Documentation for CND Notation

     [ https://issues.apache.org/jira/browse/JCRSITE-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting moved JCR-1194 to JCRSITE-6:
------------------------------------------

    Component/s:     (was: docs)
                 site
       Workflow: no-reopen-closed, patch-avail  (was: jira)
            Key: JCRSITE-6  (was: JCR-1194)
        Project: Jackrabbit Site  (was: Jackrabbit)

> Update / Fix Documentation for CND Notation
> -------------------------------------------
>
>                 Key: JCRSITE-6
>                 URL: https://issues.apache.org/jira/browse/JCRSITE-6
>             Project: Jackrabbit Site
>          Issue Type: Improvement
>          Components: site
>            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:
> ---
> <myns="http://www.mynamespace.com/myns">
> ---
> i needed to declare:
> ---
> <myns="http://www.mynamespace.com/myns">
> <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.