[VCARDDAV] PID - local and global values?

Kevin Wu Won <kevin.wuwon@nokia.com> Fri, 09 July 2010 02:09 UTC

Return-Path: <kevin.wuwon@nokia.com>
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 0DF9F3A699D for <vcarddav@core3.amsl.com>; Thu, 8 Jul 2010 19:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 RhXX43wvCeOp for <vcarddav@core3.amsl.com>; Thu, 8 Jul 2010 19:09:49 -0700 (PDT)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id CE0FB3A6816 for <vcarddav@ietf.org>; Thu, 8 Jul 2010 19:09:48 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o6929o85003398 for <vcarddav@ietf.org>; Fri, 9 Jul 2010 05:09:51 +0300
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 9 Jul 2010 05:09:50 +0300
Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 9 Jul 2010 05:09:49 +0300
Received: from [172.30.136.107] (bq-yeti.apac.nokia.com [172.30.136.107]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o6929k4C020945 for <vcarddav@ietf.org>; Fri, 9 Jul 2010 05:09:47 +0300
Message-ID: <4C3684E9.6060007@nokia.com>
Date: Fri, 09 Jul 2010 12:09:45 +1000
From: Kevin Wu Won <kevin.wuwon@nokia.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: vcarddav@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 09 Jul 2010 02:09:49.0864 (UTC) FILETIME=[CF9FAA80:01CB1F0B]
X-Nokia-AV: Clean
Subject: [VCARDDAV] PID - local and global values?
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: Fri, 09 Jul 2010 02:09:50 -0000

Hi all,

I have a question about the PID property:

The draft-11 says this:
(1) "Two PID values for which the first fields are equivalent represent
the same local value."

What is the meaning of "same local value"?  Does this term mean anything
significant besides its use in the next sentence?:

(2) "Two PID values representing the same local value and for which the
  second fields point to CLIENTPIDMAP properties whose second field URIs
are equivalent (as specified in [RFC3986], Section 6) also represent the
same global value."

Given (1) and (2), how can this statement be true?:
(3) "For example, PID value "5.1", in the first vCard below, and PID
value "6.2", in the second vCard below, represent the same global value."

The PID 5.1's first field is 5 and the PID 6.2's first field is 6.
Therefore by (1), they do not represent the same local value.  By (2),
in order to represent the same global value, the PIDs must represent the
same local value, so 5.1 and 6.2 can't represent the same global value.
 How can (3) be true then?


In general, I don't understand the point of the local value field.  As a
client implementor, it seems that the only thing I have to store in the
contacts database is the UID of each property, found by dereferencing
through the CLIENTPIDMAP.  The rest of the PID-related fields in the
vCard can be generated from this when it comes time to export.  Is that
right?

Kevin.