Re: [VCARDDAV] vcardrev-12 sections 5.1, 5.5

Simon Perreault <simon.perreault@viagenie.ca> Tue, 13 July 2010 13:29 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 8FA933A69C5 for <vcarddav@core3.amsl.com>; Tue, 13 Jul 2010 06:29:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.862
X-Spam-Level:
X-Spam-Status: No, score=-0.862 tagged_above=-999 required=5 tests=[AWL=-0.951, BAYES_05=-1.11, J_CHICKENPOX_54=0.6, J_CHICKENPOX_56=0.6, NO_RELAYS=-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 9SyQxpG6QEhn for <vcarddav@core3.amsl.com>; Tue, 13 Jul 2010 06:29:47 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by core3.amsl.com (Postfix) with ESMTP id 411093A6809 for <vcarddav@ietf.org>; Tue, 13 Jul 2010 06:29:47 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:414d:a107:d36:5c5f]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 8992120DC7; Tue, 13 Jul 2010 09:29:55 -0400 (EDT)
Message-ID: <4C3C696B.6070708@viagenie.ca>
Date: Tue, 13 Jul 2010 09:26:03 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5
MIME-Version: 1.0
To: Javier Godoy <rjgodoy@fich.unl.edu.ar>
References: <4C01AA53.7060101@atlantika-arts.net> <4C04159D.7060200@viagenie.ca> <83DB7A17C72D4194B2B78E6B3B213491@Javier2>
In-Reply-To: <83DB7A17C72D4194B2B78E6B3B213491@Javier2>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] vcardrev-12 sections 5.1, 5.5
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, 13 Jul 2010 13:29:52 -0000

On 2010-07-13 04:39, Javier Godoy wrote:
> Note also that the ABNF for BIRTH-param doesn't include a pid-param
> alternative, thus rendering the example illegal even if 5.5 is redefined..

AARGH! You're very right. We need a new example that uses a different
property.

How about this one? I tried to illustrate every possible case to make
things really clear. Does it help?

   Therefore, since BIRTH (Section 6.2.7) has cardinality (0,1) and
   TITLE (Section 6.6.1) has cardinality (0,n), these four examples
   would be legal:

     BIRTH;LANGUAGE=fr:Ville de Quebec
     BIRTH;LANGUAGE=en:Quebec City

     TITLE;LANGUAGE=fr:Patron
     TITLE;LANGUAGE=en:Boss

     TITLE;LANGUAGE=fr;PID=1:Patron
     TITLE;LANGUAGE=en;PID=1:Boss

     TITLE;LANGUAGE=fr;PID=1:Patron
     TITLE;LANGUAGE=en;PID=1:Boss
     TITLE;LANGUAGE=en;PID=2:Chief vCard Evangelist

   while these three would not:

     BIRTH;LANGUAGE=fr;PID=1:Ville de Quebec
     BIRTH;LANGUAGE=en;PID=1:Quebec City
     (Cardinality (0,1) doesn't allow PID parameter.)

     BIRTH;LANGUAGE=fr:Ville de Quebec
     BIRTH:Quebec City
     (Two instances of the BIRTH property.)

     BIRTH;LANGUAGE=fr:Ville de Quebec
     BIRTH;LANGUAGE=en:Quebec City
     BIRTH;LANGUAGE=en:Montreal
     (Two instances of the BIRTH property with the same LANGUAGE.)

   and these two would be legal but questionable:

     TITLE;LANGUAGE=fr;PID=1:Patron
     TITLE;LANGUAGE=en;PID=2:Boss
     (Should probably have the same PID value.)

     TITLE;LANGUAGE=fr:Patron
     TITLE:Boss
     (Second line should probably have LANGUAGE=en.)

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