Re: [VCARDDAV] I-D Action:draft-ietf-vcarddav-vcardrev-12.txt

"Javier Godoy" <rjgodoy@fich.unl.edu.ar> Sun, 18 July 2010 16:22 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 2FFE83A68FC for <vcarddav@core3.amsl.com>; Sun, 18 Jul 2010 09:22:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.535
X-Spam-Level:
X-Spam-Status: No, score=0.535 tagged_above=-999 required=5 tests=[AWL=-0.067, BAYES_50=0.001, J_CHICKENPOX_56=0.6, STOX_REPLY_TYPE=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 XUXCX7ZGfULD for <vcarddav@core3.amsl.com>; Sun, 18 Jul 2010 09:22:56 -0700 (PDT)
Received: from fich.unl.edu.ar (fich.unl.edu.ar [168.96.132.90]) by core3.amsl.com (Postfix) with ESMTP id 934103A687D for <vcarddav@ietf.org>; Sun, 18 Jul 2010 09:22:55 -0700 (PDT)
Received: from Javier2 ([190.193.109.175]) (authenticated user rjgodoy@fich.unl.edu.ar) by fich.unl.edu.ar (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Sun, 18 Jul 2010 13:22:58 -0300
Message-ID: <5334F2C6D20F4495800A900F77F205A9@Javier2>
From: "Javier Godoy" <rjgodoy@fich.unl.edu.ar>
To: "Markus Lorenz" <lorenz@atlantika-arts.net>, <vcarddav@ietf.org>
References: <20100712153053.60EA53A699C@core3.amsl.com> <4C3B3F2D.1000708@viagenie.ca><4C3B63B8.80507@viagenie.ca> <4C431086.2080706@atlantika-arts.net>
Date: Sun, 18 Jul 2010 13:22:36 -0300
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
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] I-D Action:draft-ietf-vcarddav-vcardrev-12.txt
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: Sun, 18 Jul 2010 16:22:57 -0000

Markus Lorenz wrote:

> I've got another question concerning the LANGUAGE property examples.
>The following is an illegal example:
>
>    BIRTH;LANGUAGE=fr:Ville de Quebec
>    BIRTH:Quebec City
>
>Can I assume that if a LANGUAGE parameter is present, it MUST be present
>for every property representing the same data?

Yes. In this case it MUST be present because BIRTH is (0,1) and the omission 
of LANGUAGE makes the second ocurrence a different logical property.
Note however that the following example is legal because there are two 
instances of TITLE:

TITLE;LANGUAGE=fr:Patron
TITLE:Something else

>The specification says in "5.1. LANGUAGE":
>
>   Properties with different LANGUAGE parameters that represent the same
>   data count as 1 toward cardinality [...]
>
>From this one could assume that the same data could be represented by
>two entries of the same property with one present and one absent
>LANGUAGE parameter, because the LANGUAGE parameters are obviously
>different. The value for the absent LANGUAGE parameter (if needed at
>all) could come from the MIME header.

I think your interpretation is technically right, but I wouldn't like 
depending on an external MIME header in order to determine the validity of the 
vCard instance.
For instance, the following example would be legal only if Content-Language is 
different from "fr":
 BIRTH;LANGUAGE=fr:Ville de Quebec
 BIRTH:Quebec City

Perhaps we should require that [[
 Properties with no PID and no LANGUAGE parameters are logically different 
from any other property, thus each occurence count as 1 towards cardinality.
]]


Best Regards

Javier