Re: [VCARDDAV] CardDAV: UID property

Cyrus Daboo <cyrus@daboo.name> Wed, 16 September 2009 03:20 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 88B643A6835 for <vcarddav@core3.amsl.com>; Tue, 15 Sep 2009 20:20:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.615
X-Spam-Level:
X-Spam-Status: No, score=-2.615 tagged_above=-999 required=5 tests=[AWL=-0.016, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t1onyxJlKCjL for <vcarddav@core3.amsl.com>; Tue, 15 Sep 2009 20:20:12 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id 96CED3A68B7 for <vcarddav@ietf.org>; Tue, 15 Sep 2009 20:20:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 0FB3F1CE812; Tue, 15 Sep 2009 23:21:00 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CSPvTyYIgUEE; Tue, 15 Sep 2009 23:20:59 -0400 (EDT)
Received: from [10.0.1.6] (unknown [10.0.1.1]) by daboo.name (Postfix) with ESMTPSA id B17091CE805; Tue, 15 Sep 2009 23:20:59 -0400 (EDT)
Date: Tue, 15 Sep 2009 23:20:59 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Bernard Desruisseaux <bernard.desruisseaux@oracle.com>, CardDAV <vcarddav@ietf.org>
Message-ID: <A1C4F0A3D16C5693854CCD51@socrates.local>
In-Reply-To: <4AA114FA.3040609@oracle.com>
References: <4AA114FA.3040609@oracle.com>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1105"
Subject: Re: [VCARDDAV] CardDAV: UID property
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 03:20:13 -0000

Hi Bernard,

--On September 4, 2009 9:24:10 AM -0400 Bernard Desruisseaux 
<bernard.desruisseaux@oracle.com> wrote:

> If I'm not mistaken the presence of the UID property in a vCard is a
> CardDAV requirement and not a vCard requirement.
>
> I don't believe the CardDAV draft makes this clear.  I can't find a MUST
> requirement about the presence of UID.

Section 5.1 does include a MUST requirement for UID.

> A new precondition (e.g., CARDDAV:valid-addressbook-object-resource)
> should be added for invalid vCard (per CardDAV spec). My understanding is
> that CARDDAV:valid-address-data should be used for invalid vCard (per
> vCard spec).

Looking at CalDAV we had CALDAV:valid-calendar-data and 
CALDAV:valid-calendar-object-resource. The later was to cover restrictions 
unique to CalDAV - e.g. not allowing mixing of different component types - 
something iCalendar itself allows. CardDAV does not impose any additional 
requirements above vCard itself (except for the UID which is covered by a 
different pre-condition). Thus there is no need for an additional 
pre-condition.

-- 
Cyrus Daboo