[VCARDDAV] LANGUAGE parameter vs. cardinality and PIDs

Simon Perreault <simon.perreault@viagenie.ca> Tue, 06 April 2010 12:53 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 D516C3A67D1 for <vcarddav@core3.amsl.com>; Tue, 6 Apr 2010 05:53:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[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 0TgS5xxtwQ9f for <vcarddav@core3.amsl.com>; Tue, 6 Apr 2010 05:53:56 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [206.123.31.2]) by core3.amsl.com (Postfix) with ESMTP id D7EE03A6452 for <vcarddav@ietf.org>; Tue, 6 Apr 2010 05:53:56 -0700 (PDT)
Received: from ringo.viagenie.ca (ringo.viagenie.ca [IPv6:2620:0:230:c000::67]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 7E3E920E56 for <vcarddav@ietf.org>; Tue, 6 Apr 2010 08:53:53 -0400 (EDT)
Message-ID: <4BBB2EE0.6040202@viagenie.ca>
Date: Tue, 06 Apr 2010 08:53:52 -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: vcarddav@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: [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: Tue, 06 Apr 2010 12:53:57 -0000

Dearest working group,

Florian Zeitz uncovered a big problem related to the LANGUAGE parameter:

> I'm a bit unclear on the usage of the LANGUAGE param. Is it
> possible/intended to have the same property in different languages?
> E.g.:
> BIRTH;LANGUAGE=de-DE:Köln
> BIRTH;LANGUAGE=en-US:Cologne
> If it is this won't integrate nicely with properties with Cardinality
> (0,1) or (1,1) and PIDs.
> If this usage is however not expected I think it would be useful to
> explicitly state this.

He's referring to this text specifying the PID parameter:

> It MUST NOT appear on properties that only may have one instance per vCard.

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.

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.

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