Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 51699 invoked from network); 26 May 2008 12:01:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 May 2008 12:01:03 -0000 Received: (qmail 1350 invoked by uid 500); 26 May 2008 12:01:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 1332 invoked by uid 500); 26 May 2008 12:01:04 -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 1321 invoked by uid 99); 26 May 2008 12:01:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 05:01:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 12:00:17 +0000 Received: by wa-out-1112.google.com with SMTP id m33so2100362wag.9 for ; Mon, 26 May 2008 05:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=zBDjMEb3/BbOdNROH+JdnnRa0FuujPc+vjKRkFhJv54=; b=seOHg4UkGFfkps/nJPKMW+yFhTI3SCUzMkqZ3eq5n7SgHlQ8eE6nYM/PoysPHTzjrYugvZFkK42+7dAbC0TnqA59buma1cTa2V0Zu1UMFXIa1pg24eI+DjNEgMLxG11oTkADMsRB8MY84Y2fEWMliVv/x+LAspYB/205OsFAz2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=smPVHEZLE93HxraXMBbPq1QrzANs77M3I2ti+gx9lOwaDrqoBHtnfJlaRzQgKaxBffwmn7iv/aORUuxbqWus/i9D3yhLiMFZ432gJkFrX6hGB07jg3CYSdT+HhbfSJG/avvgBusjcPN+ARo0u+UqYjtd7qr1AJ3g9nONXm1l6EM= Received: by 10.114.14.1 with SMTP id 1mr5449644wan.9.1211803233436; Mon, 26 May 2008 05:00:33 -0700 (PDT) Received: by 10.114.190.14 with HTTP; Mon, 26 May 2008 05:00:33 -0700 (PDT) Message-ID: <90a8d1c00805260500u7ffcf7dcw163273f2fd980b47@mail.gmail.com> Date: Mon, 26 May 2008 14:00:33 +0200 From: "Stefan Guggisberg" Reply-To: stefan.guggisberg@day.com Sender: stefan.guggisberg@gmail.com To: users@jackrabbit.apache.org Subject: Re: jcr:uuid property is not created when XML is imported In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 0a410957e91802d2 X-Virus-Checked: Checked by ClamAV on apache.org hi On Fri, May 23, 2008 at 12:08 PM, Joshna Reddy wrote: > Hii > > I have exported a node structure using exportDocumentView(....) and written > it a file. > > In the exported xml document jcr:mixintypes property is not present i.e > mixin types of the node are not exported that's a known limitation of the document view xml mapping. multi-valued properties, incl. jcr:mixinTypes, are omitted on document view export. see http://issues.apache.org/jira/browse/JCR-325 for a discussion of multi-valued property representation in the document view xml mapping. please see also section 6.4.2.5 in the JSR 170 spec. please note that the document view xml mapping is per definition 'lossy' and not guaruanteed to roundtrip properly. if you need xml roundtripping you should use system view export instead. cheers stefan > > Later when i tried to import the same node structure using importXML(...) > > I see that jcr:uuid property is not created . I have tried out using > ImportUUIDBehaviour.CREATE_NEW > > Why does export and import take care of mixin types. > > Is there any thing obvious that i am missing . > > Please help me out .... > > Thanks > K.Joshna >