Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 84914 invoked from network); 1 Mar 2007 16:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 16:48:11 -0000 Received: (qmail 15521 invoked by uid 500); 1 Mar 2007 16:48:19 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 15228 invoked by uid 500); 1 Mar 2007 16:48:19 -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 15219 invoked by uid 99); 1 Mar 2007 16:48:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 08:48:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jukka.zitting@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 08:48:07 -0800 Received: by ug-out-1314.google.com with SMTP id p31so394102ugc for ; Thu, 01 Mar 2007 08:47:45 -0800 (PST) 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=fGBRewA079ahir8uDUthPmWbEFDrH7Yxm8xsRygRDQWwAW0qsgHa7xM8L1Y4Td4Z9J5rrl1lGFCnXGDgjEbPg/xGc//3q+DaD94kMAV0fci8NxllvG5OFdWYrHHfHslPgfQKcPtZchvUYgMpeIks0O0s0FxVsmL8hAdE51Ijryk= 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=aWCprcI7Ormrha0nXg7Ep/eKLOtPuXemDH4bOktsRUGMNy8Y9yjlxivJRqalMXZKXR6c3YzEHn8VS5mIkW4x5oX/9HZ/M3ycVofdrqQTzIANDI2/M/KLnHmddGM1U/fWUZ7txBsf8RnPEDE32yI/QRHLQWtDXutSnJ2UE9CJu3Y= Received: by 10.78.189.5 with SMTP id m5mr168421huf.1172767665758; Thu, 01 Mar 2007 08:47:45 -0800 (PST) Received: by 10.78.106.19 with HTTP; Thu, 1 Mar 2007 08:47:45 -0800 (PST) Message-ID: <510143ac0703010847s7a7b4b35qb16204e61a494638@mail.gmail.com> Date: Thu, 1 Mar 2007 18:47:45 +0200 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: Get versioned file data In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 3/1/07, Grizz Lee wrote: > I'm having trouble to get the file data of a specific version of a versioned file > from the repository. > [...] > - Get the version history of jcr:content > - Get the version with the correct version name from the history > - Get the property jcr:data of the version throws a javax.jcr.PathNotFoundException The frozen contents of the node at checkin time are stored as the jcr:frozenNode child of the version node. Thus you can access the versioned contents of the file as jcr:frozenNode/jcr:data. BR, Jukka Zitting