Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 56315 invoked from network); 29 May 2006 20:24:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 20:24:11 -0000 Received: (qmail 64932 invoked by uid 500); 29 May 2006 20:24:11 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 64916 invoked by uid 500); 29 May 2006 20:24:11 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 64907 invoked by uid 99); 29 May 2006 20:24:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 13:24:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of DBJohnson@eentertainment.com designates 12.46.7.145 as permitted sender) Received: from [12.46.7.145] (HELO abbott.eonline.com) (12.46.7.145) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 13:24:08 -0700 Received: from LA-FE1.enet.eentertainment.com ([10.10.1.45]) by abbott.eonline.com (8.12.10/8.12.10) with ESMTP id k4TKNlpl026438 for ; Mon, 29 May 2006 13:23:47 -0700 Received: from LA-EXCHANGE.enet.eentertainment.com ([10.10.1.48]) by LA-FE1.enet.eentertainment.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 29 May 2006 13:23:47 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: CND and Default Namespace Date: Mon, 29 May 2006 13:23:46 -0700 Message-ID: <0CF61BBD1840F64CAA4DA12A2008EB03D3841A@LA-EXCHANGE.enet.eentertainment.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CND and Default Namespace Thread-Index: AcaDTncJWf/+/u5qQwWOcYr0bsavjQAEd7Fg From: "David B. Johnson" To: X-OriginalArrivalTime: 29 May 2006 20:23:47.0319 (UTC) FILETIME=[CA23F870:01C6835D] X-Scanned-By: MIMEDefang 2.39 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=0 req=4.5 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Petr, The only way I have been able to get it to work is to add the default namespace, e.g.,: <''=3D''> ... my declarations ... Is that normal? Thanks again! -Dave Johnson -----Original Message----- From: Petr Pytelka [mailto:Petr.Pytelka@lightcomp.com]=20 Sent: Sunday, May 28, 2006 11:10 PM To: users@jackrabbit.apache.org Subject: Re: CND and Default Namespace I've had the same problem. To solve it I had to add default namespace=20 declaration at the beginning of CND file. Example: /* orig.namespaces */ .... your declarations ... Petr Pytelka David B. Johnson wrote: > Does the Compact Node Definition work with the default namespace? For > example, I can not get the following node type to work properly: >=20 > =20 >=20 > [eol:BodySegment] > eol:Base, mix:versionable >=20 > orderable >=20 > - body (string) >=20 > - permalink (string) >=20 > - thumbnail (reference) >=20 > =20 >=20 > Note, properties are not fully qualified names - i.e., they are within > the default namespace. >=20 > =20 >=20 > Whereas the following works fine: >=20 > =20 >=20 > [eol:ContentItem] > eol:base, mix:referenceable, mix:versionable >=20 > orderable >=20 > - eol:publishDate (date) mandatory >=20 > - eol:expireDate (date) >=20 > - eol:lastModified (date) mandatory >=20 > - eol:topics (reference) multiple >=20 > < 'eol:Topic' >=20 > - eol:keywords (string) multiple >=20 > - eol:relatedContent (reference) multiple >=20 > < 'eol:ContentItem' >=20 > - eol:relatedImages (reference) multiple >=20 > =20 >=20 > Do I need to do something special to get the properties defined within > the default namespace to work properly? >=20 > =20 >=20 > -David B. Johnson, Ph.D. >=20 > Manager of Software Engineering >=20 > E! Entertainment >=20 > =20 >=20 > dbjohnson@eentertainment.com >=20 > =20 >=20 >=20