Re: [VCARDDAV] LANGUAGE parameter vs. cardinality and PIDs

"Javier Godoy" <rjgodoy@fich.unl.edu.ar> Wed, 07 April 2010 15:59 UTC

Return-Path: <rjgodoy@fich.unl.edu.ar>
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 77ADD3A6ACC for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 08:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.093
X-Spam-Level:
X-Spam-Status: No, score=0.093 tagged_above=-999 required=5 tests=[AWL=1.203, BAYES_05=-1.11]
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 xJXRI+tmUkmg for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 08:59:26 -0700 (PDT)
Received: from fich.unl.edu.ar (fich.unl.edu.ar [168.96.132.90]) by core3.amsl.com (Postfix) with ESMTP id C0C463A6765 for <vcarddav@ietf.org>; Wed, 7 Apr 2010 08:59:24 -0700 (PDT)
Received: from Javier2 ([190.193.124.162]) (authenticated user rjgodoy@fich.unl.edu.ar) by fich.unl.edu.ar (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Wed, 7 Apr 2010 12:59:04 -0300
Message-ID: <698421B898E240A2B96B5BA4948BCBBF@Javier2>
From: Javier Godoy <rjgodoy@fich.unl.edu.ar>
To: Simon Perreault <simon.perreault@viagenie.ca>, Cyrus Daboo <cyrus@daboo.name>
References: <4BBB2EE0.6040202@viagenie.ca> <2DDEFC9394064E53BD759285A555AE71@Javier2> <4BBC7383.3030404@viagenie.ca> <8989BD112D9135A1A1C1658C@socrates.local> <4BBC8080.2020801@viagenie.ca>
Date: Wed, 07 Apr 2010 12:57:34 -0300
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="response"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] LANGUAGE parameter vs. cardinality and PIDs
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, 07 Apr 2010 15:59:27 -0000

Hi Simom

From: "Simon Perreault" <simon.perreault@viagenie.ca>
Sent: Wednesday, April 07, 2010 9:54 AM


> On 2010-04-07 08:41, Cyrus Daboo wrote:
>> One big question is what would the UID values be for all the
>> "alternative" cards? Are they all the same or different.
>
> I was assuming they would be different...

Me too. They would be alternative independent instances about the same 
individual.


>> However, one issue with the current scheme is dealing with items with
>> cardinality > 1. For example I could today have multiple ORG properties
>> with different LANGUAGE parameters. Does that mean they are
>> alternatives, or separate? To resolve that ambiguity there would need to
>> be a unique identifier on properties that would be the same on LANGUAGE
>> alternatives.

May we reuse PID? (assuming that the cardinality restriction is relaxed)
This would require including the value of LANGUAGE into the definition of 
"same property" according to the syncrhonization mechanism

Hence
  ORG;PID=1;LANGUAGE=en-US
would be a different from
  ORG;PID=1;LANGUAGE=en-AR


> Yes! That's a big problem that would be solved by replacing the LANGUAGE 
> parameter with a LANGUAGE property.

No, it is still an issue. In the following example:
 - ¿Which is the translation of "Organization 1" and "Organization 2" in the 
es-AR vCard? (suppose I was fired from "Organization 1" and I want to remove 
thar value from all my instances)
 - If "Organization 3" is not translated into Spanish, does it means that I'm 
member of 3 organizations for users with en-US locale, and I'm member of 2 
organization for users with es-AR locale? Or it is just that Organization 3 
was not translated into Spanish, though I'm a member of that organization?

BEGIN:VCARD
VERSION:4.0
UID:urn:uuid:aad6190c-7193-4daf-a670-0090713aa006
RELATED;TYPE=self:urn:uuid:23e20f71-57f9-49fa-9455-f905d27d2382
FN:John Doe
ORG: Organization 1
ORG: Organization 2
ORG: Organization 3 (which I forgot to translate into Spanish)
LANGUAGE:en-US
END:VCARD

BEGIN:VCARD
VERSION:4.0
UID:urn:uuid:23e20f71-57f9-49fa-9455-f905d27d2382
RELATED;TYPE=self:urn:uuid:aad6190c-7193-4daf-a670-0090713aa006
FN:John Doe
ORG: Organización 1
ORG: Organización 2
LANGUAGE:es-AR
END:VCARD


BEGIN:VCARD
VERSION:4.0
UID:urn:uuid:8cbf72b1-d10d-475f-a4b4-52174af50e2c
FN:John Doe
ORG;PID=1;LANGUAGE=es-AR: Organización 1
ORG;PID=2;LANGUAGE=es-AR: Organización 2
ORG;PID=1;LANGUAGE=en-US: Organization 1
ORG;PID=2;LANGUAGE=en-US: Organization 2
ORG;PID=3;LANGUAGE=en-US: Organization 3 (which I forgot to translate into 
Spanish)
END:VCARD


Best Regards

Javier