Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 33440 invoked from network); 12 Aug 2008 19:29:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2008 19:29:28 -0000 Received: (qmail 55055 invoked by uid 500); 12 Aug 2008 19:29:26 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 55036 invoked by uid 500); 12 Aug 2008 19:29:26 -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 55025 invoked by uid 99); 12 Aug 2008 19:29:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 12:29:26 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of michael.duerig@day.com does not designate 91.199.146.30 as permitted sender) Received: from [91.199.146.30] (HELO merkur.eye.ch) (91.199.146.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 19:28:27 +0000 Received: from [192.168.178.2] [83.77.202.6] by merkur.eye.ch with ESMTP (SMTPD-9.20) id A4520280; Tue, 12 Aug 2008 21:28:18 +0200 Message-ID: <48A1E443.7000208@day.com> Date: Tue, 12 Aug 2008 21:28:03 +0200 From: =?UTF-8?B?TWljaGFlbCBEw7xyaWc=?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: NTD and prefixed names -> sharepoint References: <46591.192.168.1.71.1218565856.webmail@192.168.1.71> In-Reply-To: <46591.192.168.1.71.1218565856.webmail@192.168.1.71> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-mxGuard-Info: Processed by merkur.eye.ch using mxGuard v3.2 X-mxGuard-SpoolID: e452018800001f0a X-mxGuard-Sender: michael.duerig@day.com X-mxGuard-Trusted: SMTP-AUTH [mduerig@merkur.eye.ch] X-mxGuard-Spam-Score: 0 X-mxGuard-Spam-Probability: CLEAN X-Note: This message has been scanned for spam and viruses by mxGuard for IMail (www.mxguard.com). Now Available in Switzerland (www.merlinconsulting.ch) X-Virus-Checked: Checked by ClamAV on apache.org > > > > [acme:Plan] > nt:folder > + 'Anvil' (nt:unstructured) > + 'Bomb' (nt:unstructured) > + 'Painted Doorway' (nt:unstructured) > > When i attempt to register node types i get: > > java.lang.Exception: Failed to register node types > at Acme.ensureNodeTypeDefs(Acme.java:119) > at Acme.main(Acme.java:31) > Caused by: org.apache.jackrabbit.core.nodetype.compact.ParseException: Error while parsing 'Anvil' (Acme, line 6) > at org.apache.jackrabbit.core.nodetype.compact.Lexer.fail(Lexer.java:152) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.toQName(CompactNodeTypeDefReader.java:653) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.doChildNodeDefinition(CompactNodeTypeDefReader.java:548) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.doItemDefs(CompactNodeTypeDefReader.java:360) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.parse(CompactNodeTypeDefReader.java:218) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.(CompactNodeTypeDefReader.java:178) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.(CompactNodeTypeDefReader.java:162) > at Acme.ensureNodeTypeDefs(Acme.java:93) > ... 1 more > Caused by: javax.jcr.NamespaceException: No URI for pefix '' declared. > at org.apache.jackrabbit.spi.commons.namespace.NamespaceMapping.getURI(NamespaceMapping.java:74) > at org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:116) > at org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:62) > at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQName(DefaultNamePathResolver.java:61) > at org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader.toQName(CompactNodeTypeDefReader.java:646) > ... 7 more > You need to define the empty prefix in you .cnd file <''=''> Michael