Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 87596 invoked from network); 28 May 2008 19:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 19:29:15 -0000 Received: (qmail 22696 invoked by uid 500); 28 May 2008 19:29:16 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 22673 invoked by uid 500); 28 May 2008 19:29:16 -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 22662 invoked by uid 99); 28 May 2008 19:29:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 12:29:16 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 19:28:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K1RKF-0000WL-AG for users@jackrabbit.apache.org; Wed, 28 May 2008 12:28:43 -0700 Message-ID: <17520288.post@talk.nabble.com> Date: Wed, 28 May 2008 12:28:43 -0700 (PDT) From: viz06 To: users@jackrabbit.apache.org Subject: cnd definition: Versioning with reference MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vijaykumarsharma_1999@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Can somebody help me with cnd definition for the following case [nm:Doc] > mix:referenceable - nm:name (string) mandatory - nm:desc (string) [nm:Content] > mix:versionable - nm:data (binary) mandatory - nm:mimeType (string) mandatory for my case every nm:Doc has a nm:Content, which I can do as follows [nm:Doc] > mix:referenceable - nm:name (string) mandatory - nm:desc (string) + (nm:Content) but I also need that everytime I checkin nm:Content it should also capture nm:Doc information. If I make nm:Doc versionable then update of any nm:Doc property will create a new version which I won't need. I was thinking of referencing nm:Doc from nm:Content but don't know how to do that and whether that is a solution to my problem. Thanks -- View this message in context: http://www.nabble.com/cnd-definition%3A-Versioning-with-reference-tp17520288p17520288.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.