Re: [VCARDDAV] Questions about vCard 4.0 (draft rev-11)

"Javier Godoy" <rjgodoy@hotmail.com> Wed, 23 June 2010 05:28 UTC

Return-Path: <rjgodoy@hotmail.com>
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 C291C3A6870 for <vcarddav@core3.amsl.com>; Tue, 22 Jun 2010 22:28:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.118
X-Spam-Level: ***
X-Spam-Status: No, score=3.118 tagged_above=-999 required=5 tests=[BAYES_50=0.001, FORGED_MUA_OUTLOOK=3.116, 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 X4rttRCHy74H for <vcarddav@core3.amsl.com>; Tue, 22 Jun 2010 22:28:55 -0700 (PDT)
Received: from blu0-omc3-s25.blu0.hotmail.com (blu0-omc3-s25.blu0.hotmail.com [65.55.116.100]) by core3.amsl.com (Postfix) with ESMTP id EC7433A67DA for <vcarddav@ietf.org>; Tue, 22 Jun 2010 22:28:54 -0700 (PDT)
Received: from BLU0-SMTP41 ([65.55.116.72]) by blu0-omc3-s25.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 22 Jun 2010 22:29:02 -0700
X-Originating-IP: [190.193.124.162]
X-Originating-Email: [rjgodoy@hotmail.com]
Message-ID: <BLU0-SMTP41B4D29208563A44A42040ADC50@phx.gbl>
Received: from Javier2 ([190.193.124.162]) by BLU0-SMTP41.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 22 Jun 2010 22:29:01 -0700
From: Javier Godoy <rjgodoy@hotmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
References: <AANLkTiniY60njEGixPGeKvs_m1LE_uVrvtnDQuXrP7jV@mail.gmail.com><4C20B501.6030802@viagenie.ca><8822D300A5ED445A8CB9C6BB9B60A4E7@Javier2> <4C214045.4050703@viagenie.ca>
Date: Wed, 23 Jun 2010 02:05:55 -0300
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="original"
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
X-OriginalArrivalTime: 23 Jun 2010 05:29:01.0943 (UTC) FILETIME=[FD023070:01CB1294]
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] Questions about vCard 4.0 (draft rev-11)
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, 23 Jun 2010 05:28:55 -0000

On 06/22/2010 7:59 PM, Simon Perreault wrote:

> On 06/22/2010 05:16 PM, Javier Godoy wrote:
>> From section 2.3 of RFC 5234
>> ABNF strings are case insensitive .
>> To specify a rule that is case sensitive, specify the characters
>> individually.
>> For example:
>>   rulename    =  %d97 %d98 %d99
>>
>> So the ABNF above should be
>>
>> BEGIN-value = %d86 %d67 %d65 %d82 %d68; uppercase "VCARD"
>
> Wow! I didn't know that! Thanks!
>
> Ok so we have two options:
>
> 1. Leave the ABNF as is but state that the value is case insensitive.
> 2. Change the ABNF and state that the value is case sensitive.
>
> I think I would prefer 1.

Allowing values to be case insensitive may work for BEGIN:VCARD and END:VCARD.
I don't have preference between either approach.

About case sensitiviy for "T" and "Z", they are defined in section 3.4.3
"Characters used as designators" of ISO 8601:2004 as: «
In representations the following characters are used as designators:
   [Z] is used as UTC designator.
   [T] is used as time designator
»

It seems they are specified as uppercase (at least, there is no example with
lowercase designators), so in this case we should the ABNF.

utc-designator = "Z"
zone   = utc-designator / utc-offset

time-designator = "T"
date-time = date-noreduc  time-designator time-notrunc
timestamp = date-complete time-designator time-complete
date-and-or-time = date-time / date / time-designator time


Best Regards

Javier