[
https://issues.apache.org/jira/browse/JCR-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Gonschorek updated JCR-1194:
----------------------------------
Description:
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 "["??)
was:
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:
---
<mycreon="http://www.mycreon.com/jcr">
<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 "["??)
> 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:
> ---
> <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.