Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 985 invoked from network); 18 Jan 2011 13:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2011 13:36:14 -0000 Received: (qmail 30939 invoked by uid 500); 18 Jan 2011 13:36:13 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 30618 invoked by uid 500); 18 Jan 2011 13:36: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 30606 invoked by uid 99); 18 Jan 2011 13:36:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 13:36:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 13:36:06 +0000 Received: by iwn6 with SMTP id 6so5456019iwn.1 for ; Tue, 18 Jan 2011 05:35:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=vgvuerSHHdnDlmPblgy3ChEckWE1Ws6m31QYWM+XKWU=; b=qHABtXFaexVyVdNvhilkEUUd4PSqLrJl6+PymyJ4UxstXAc72R87JUowiZnV8ZxaYD rkbBuRNGjOYTM9lXaYQoEKVmeC3WbnNyogG0EQNAbxFuRcGuA9HqXPCHd5PaSdiZms68 +YHwhBbIJJALy0vEONmpJC2QWwBrFHpeRP5lg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=JQ7HBEtxgLrLUupA0Vxg/8DYFVXRun/cJ2QJvsIyMrsTeZqfD09pwN0Q84tparo5rH gcE12AeuXJjF+5ychcRnKslsx6a5xNPNuwfvlP42ps9GsPKsvr0v50iZUPK1K+nSRhh/ qThJAoQJhga+lpvML03PVgiQveot3PQyRAmp0= Received: by 10.231.205.132 with SMTP id fq4mr6028198ibb.17.1295357745338; Tue, 18 Jan 2011 05:35:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.152.211 with HTTP; Tue, 18 Jan 2011 05:35:25 -0800 (PST) In-Reply-To: <4D3594DA.1040009@cs.uu.nl> References: <4D3594DA.1040009@cs.uu.nl> From: Jukka Zitting Date: Tue, 18 Jan 2011 14:35:25 +0100 Message-ID: Subject: Re: Importing, and exporting XML. Default namespaces To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, On Tue, Jan 18, 2011 at 2:25 PM, Sandor Spruit wrote: > Is there a way to control what prefix Jackrabbit assigns to XML nodes in the > default namespace? You can register the namespace before importing your XML content. See NamespaceRegistry.registerNamespace() [1]. [1] http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/NamespaceRegistry.html#registerNamespace(java.lang.String, java.lang.String) BR, Jukka Zitting