Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 23469 invoked from network); 10 Jul 2007 08:36:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2007 08:36:24 -0000 Received: (qmail 52466 invoked by uid 500); 10 Jul 2007 08:36:26 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 52444 invoked by uid 500); 10 Jul 2007 08:36:26 -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 52435 invoked by uid 99); 10 Jul 2007 08:36:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 01:36:26 -0700 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 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 01:36:22 -0700 Received: by an-out-0708.google.com with SMTP id c37so275159anc for ; Tue, 10 Jul 2007 01:36:02 -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=J4KJXq0+6dLMwPL+9PqQmh4ns5dqA5dQkYQKGPHFzDLDg/U8CnU3GY0FZJtVZBmI1f8k3jOZqmI/UueoFQ/wZIcWr5F/kflfnszh3WIBqihJ/FyoyPHR4ESMxp2C8juut19Shrf1nb2n1PhAY4txOPFBcQW4bCu6TvjFHSFdliI= 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=miiMrD2l2JmLCTw3W6846RodaIEYhsqBoEeg72ae7Br11un/KlvhwCXr7eBts+1wXibTD9bXWiaYZIRojem12kCdoE2mFA1wGWmqPNKrJ5FoK/z15DjJb1sw/L0dLX8MfgzaqQhhifmZ+chNujB8tFqYJwjnIfQD+v4NdZTSl7s= Received: by 10.100.8.18 with SMTP id 18mr2051712anh.1184056562515; Tue, 10 Jul 2007 01:36:02 -0700 (PDT) Received: by 10.100.163.1 with HTTP; Tue, 10 Jul 2007 01:36:02 -0700 (PDT) Message-ID: <510143ac0707100136t20b1d1b0ybb60f66cf381f64d@mail.gmail.com> Date: Tue, 10 Jul 2007 11:36:02 +0300 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: DM Rule #4: Beware of Same Name Siblings. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <003401c7c0a6$d1238aa0$736a9fe0$@co.uk> <140176f0707090614y4620a324idd2f8cb0f0e509bf@mail.gmail.com> <76a6ebd00707091316q776df0b9k950a82df44841ebc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 7/10/07, Bertrand Delacretaz wrote: > Still (and I'm being slightly paranoid here, for the purpose of > discussion), some of these meaningful path elements might change at > some point. I don't really see this as a problem. > mark@gmail might get a new email...what happens? Worst case, his old > email is made available after some time, and someone else grabs it > (remember, I'm in paranoid mode ;-) We can just rename the node, or if we don't care we can leave it as is. In any case I think it makes sense *not* to use the node name as the email address in an aplication. It's much better to put such semantic information in a property and keep the name as just a local identifier. > "Nelly Furtado" usually stays forever...though she might get married > and change her name (not to mention the Wendy/Walter Carlos case > [1]...or The Artist Formerly Known As Prince). > > New records will be released under her new name, but somehow a > connection must be made to the old name, which would be easier with an > abstract identifier. Again, in this model each record should probably have a string property that contains the name of the artist. > What I'm getting at: meaningful paths are great, but when using them > one must be prepared to handle edge cases where meaningful path > elements change in the world that you're modeling. I guess we need to make a difference between meaningful paths in the sense of "locally unique and readable" and the sense of "semantically valid" where someone would want to use the name itself as a specific attribute like name or email address. I much prefer treating names in the former sense. BR, Jukka Zitting