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

"Javier Godoy" <rjgodoy@fich.unl.edu.ar> Wed, 07 April 2010 11:07 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 0D3443A697D for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 04:07:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.992
X-Spam-Level: *
X-Spam-Status: No, score=1.992 tagged_above=-999 required=5 tests=[AWL=1.991, BAYES_50=0.001]
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 yV1-WrdL9IwN for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 04:07:13 -0700 (PDT)
Received: from fich.unl.edu.ar (fich.unl.edu.ar [168.96.132.90]) by core3.amsl.com (Postfix) with ESMTP id 9398E3A68CD for <vcarddav@ietf.org>; Wed, 7 Apr 2010 04:07:12 -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 08:06:57 -0300
Message-ID: <2DDEFC9394064E53BD759285A555AE71@Javier2>
From: Javier Godoy <rjgodoy@fich.unl.edu.ar>
To: Simon Perreault <simon.perreault@viagenie.ca>, vcarddav@ietf.org
References: <4BBB2EE0.6040202@viagenie.ca>
Date: Wed, 07 Apr 2010 08:05:11 -0300
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="response"
Content-Transfer-Encoding: 7bit
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
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 11:07:15 -0000

Hi Simon,

----- Original Message ----- 
From: "Simon Perreault" <simon.perreault@viagenie.ca>
To: <vcarddav@ietf.org>
Sent: Tuesday, April 06, 2010 9:53 AM
Subject: [VCARDDAV] LANGUAGE parameter vs. cardinality and PIDs


> Dearest working group,
>
>Florian Zeitz uncovered a big problem related to the LANGUAGE parameter:
>
>
>It turns out that BIRTH is specified with cardinality (0,1) and so cannot 
>have a PID, but the above example should be allowed.
>
>So what do we do? I see two options:
>
>1. Replace the LANGUAGE parameter with a LANGUAGE property, making vCards 
>monolingual.
>

The problem with this approach is that versions in different languages may be 
out of sync (for instance, I modify EMAIL or TEL in the en-vCard, but I don't 
in the es-vCard or the fr-vCard)

If #1 is applied, we also need a new value for the RELATED type, such as 
"translation" or "self", for linking vCards instances describing the same 
individual in diferent languages.

RELATED;TYPE=self:http://example.com/directory/en/jdoe.vcf
RELATED;TYPE=self:http://example.com/directory/fr/jdoe.vcf
RELATED;TYPE=self:http://example.com/directory/en/jdoe.vcf

Note that clients won't know which vCard is in which language, before 
retrieving the instance (we might add a language-param for this case)

Content-negotiation MAY be used, if it is defined for the URI scheme. In that 
case we would have just one "self" vCard URI.
RELATED;TYPE=self:http://example.com/directory/jdoe.vcf


>2. Specify how the LANGUAGE parameter affects cardinality (i.e. cardinality 
>applies to same-language sets of property instances). Allow PID to apply to 
>all properties.
>
>Is the language tag very much used currently? Do we think it is important 
>that a vCard can be multilingual?
>
>I think a LANGUAGE property would have more chance of being used. And since 
>it simplifies things, and I like simplicity, I like #1 more at this point.



Best Regards,

Javier