Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 65453 invoked from network); 30 Jul 2007 08:19:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2007 08:19:14 -0000 Received: (qmail 62247 invoked by uid 500); 30 Jul 2007 08:18:37 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 58955 invoked by uid 500); 30 Jul 2007 08:17:48 -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 56270 invoked by uid 99); 30 Jul 2007 08:16:46 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.134.185 as permitted sender) Received: from [209.85.134.185] (HELO mu-out-0910.google.com) (209.85.134.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:16:42 -0700 Received: by mu-out-0910.google.com with SMTP id w1so1538061mue for ; Mon, 30 Jul 2007 01:15:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GnkP4+LzC3SQAyX8XnJU+XltT2sWZJVRXn+x38ZNkysJXX8oluj8IdHLzk4YbYy0SX1+aYaHAKZpHR02/7kzi1OCioJ7IBvAIeuwCfDvcgQVJ6JObMigxb7I/uSny3NnyJ8Xjyx1bOL+3iV9Rib+HLyG+7v6SdNcIdcoUMXyOG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k5AwV03g1SSM5ETL8iAkEd2ZcrjkAsyvJ2SdMraDPaff0uP1TrVfaRh0+47zpmfdNWLnqN5wZ+Y+swbGKhs6nMEEOiMQn2g76Rr5+r+SjTPhSUAH2FOB2g8gPPciRCECsu1oFlHmhECtpDdNSZBLBzN9R3whEbGhK3rdeqlqmmQ= Received: by 10.82.190.2 with SMTP id n2mr3823641buf.1185783350528; Mon, 30 Jul 2007 01:15:50 -0700 (PDT) Received: by 10.82.171.9 with HTTP; Mon, 30 Jul 2007 01:15:50 -0700 (PDT) Message-ID: <90a8d1c00707300115o3780061ere27dc11a1eb9a1bc@mail.gmail.com> Date: Mon, 30 Jul 2007 10:15:50 +0200 From: "Stefan Guggisberg" To: users@jackrabbit.apache.org Subject: Re: UUID not created when importing xml In-Reply-To: <70055a110707290108l6916ec25p6ddace446393c2ff@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70055a110707290108l6916ec25p6ddace446393c2ff@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org hi aj, On 7/29/07, AJ Chen wrote: > Using session.exportDocumentView(), I export a referenceable node (with > jcr:uuid) to xml file, and I verify that the xml has the uuid. But, when > importing this file, the uuid is not created, regardless which > ImportUUIDBehavior is used. My goal is to restore the node with the original > uuid. Any idea why UUID is not automatically created during importing? could you please provide a small test case, incl. a small xml file? btw: please note that the document view serialization format is not meant for roundtripping (export/re-import). whenever possible you should use system view format for roundtripping. cheers stefan > > Thanks, > AJ > -- > AJ Chen, PhD > Palo Alto, CA > http://web2express.org >