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

Simon Perreault <simon.perreault@viagenie.ca> Wed, 07 April 2010 11:59 UTC

Return-Path: <simon.perreault@viagenie.ca>
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 00FED3A68E2 for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 04:59:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.079
X-Spam-Level:
X-Spam-Status: No, score=-2.079 tagged_above=-999 required=5 tests=[AWL=0.520, 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 B2LJkOcKE2ht for <vcarddav@core3.amsl.com>; Wed, 7 Apr 2010 04:59:03 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [206.123.31.2]) by core3.amsl.com (Postfix) with ESMTP id B00F23A63EB for <vcarddav@ietf.org>; Wed, 7 Apr 2010 04:59:03 -0700 (PDT)
Received: from ringo.viagenie.ca (ringo.viagenie.ca [IPv6:2620:0:230:c000::67]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 136B2210F7; Wed, 7 Apr 2010 07:59:00 -0400 (EDT)
Message-ID: <4BBC7383.3030404@viagenie.ca>
Date: Wed, 07 Apr 2010 07:58:59 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3
MIME-Version: 1.0
To: Javier Godoy <rjgodoy@fich.unl.edu.ar>
References: <4BBB2EE0.6040202@viagenie.ca> <2DDEFC9394064E53BD759285A555AE71@Javier2>
In-Reply-To: <2DDEFC9394064E53BD759285A555AE71@Javier2>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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 11:59:05 -0000

On 2010-04-07 07:05, Javier Godoy wrote:
> 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)

Yes, but the same problem could also happen for multiple instances of 
the same property in different languages...

> 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

I think that's a good idea.

> 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)

With CardDAV we can retrieve only the LANGUAGE property for all the 
related vCards in a single REPORT query with addressbook-multiget. So I 
don't see this as a problem. (And not repeating data could be considered 
desirable.)

> 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

Yes, but that's implementation-specific.

I would also envision using urn:uuid: URIs instead of http: URIs...

Thanks,
Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org