You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Bernd Ruecker <ma...@camunda.com> on 2006/03/07 15:07:40 UTC
Newbie-question on nt.cnd
Hi,
One question to the nodeTypes. We have the following nodeTypes:
<ccs = 'http://www.camunda.com/ccs/1.0'>
[ccs:Image]
- ccs:content (binary) version
- ccs:description (string) version
- ccs:type (string) version
- ccs:size (long) version
[ccs:ImageCollection]
+ ccs:smallImage (ccs:Image) multiple version
+ ccs:mediumImage (ccs:Image) multiple version
+ ccs:largeImage (ccs:Image) multiple version
+ ccs:pressImage (ccs:Image) multiple version
Why is it not possible to remove the namespace from properties, so that the
result would be:
<ccs = 'http://www.camunda.com/ccs/1.0'>
[ccs:Image]
- content (binary) version
- description (string) version
- type (string) version
- size (long) version
[ccs:ImageCollection]
+ smallImage (ccs:Image) multiple version
+ mediumImage (ccs:Image) multiple version
+ largeImage (ccs:Image) multiple version
+ pressImage (ccs:Image) multiple version
But then I get a
org.apache.jackrabbit.core.nodetype.compact.ParseException: Error while
parsing 'content' (/ccs-nt.cnd, line 5)
Thanks in advance and sorry for the silly questions, but there are no
examples for the nt.cnd out there :-(
Bernd
-------------------------------------------
camunda GmbH - The Business Process Company
Mühlwehrstraße 43 - 97980 Bad Mergentheim
www.camunda.com - info@camunda.com
-------------------------------------------
Bernd Rücker
Geschäftsführer
Telefon +49 7931 99190-112
bernd.ruecker@camunda.com
-------------------------------------------