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

Daisuke Miyakawa <d.miyakawa@gmail.com> Thu, 24 June 2010 00:31 UTC

Return-Path: <d.miyakawa@gmail.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 B08573A68C4 for <vcarddav@core3.amsl.com>; Wed, 23 Jun 2010 17:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.845
X-Spam-Level:
X-Spam-Status: No, score=-0.845 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753]
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 7KzznyXDbwJ1 for <vcarddav@core3.amsl.com>; Wed, 23 Jun 2010 17:31:17 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by core3.amsl.com (Postfix) with ESMTP id 3D2BC3A6A15 for <vcarddav@ietf.org>; Wed, 23 Jun 2010 17:31:16 -0700 (PDT)
Received: by gwb10 with SMTP id 10so425624gwb.31 for <vcarddav@ietf.org>; Wed, 23 Jun 2010 17:31:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=N0qKZiNDvnsdVE1l1r7WTp67QfRi0pCysQ7TJ2mbXEY=; b=sHjYHf6OQFTb93OOcZgar64gWxix607SbaI1FudU3HahadQLJ3il7/f6T9XBvsv+DP fsK2DPf8BDqaoXrPF5n+waNe47GqrB10f286VOe+P1JZLPdEa2Nl9zfkCXJZzuK17MYw rS4xEqfjHjENd6P8+zjgCocQKWRzzpxLAVZp0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RyE0WqXOGHgs0qB0kMOMmldgahHbXlwwqeosIVddJn6xhR0lPF9UMsUh2y/el0TS3U R9nnmMb8K6HSsb0QTpQPWiCjruZTVOfAIPntIYOAFDzhOxVI7vkDCtvc68FVfP2stNIY nvFD5I12VkxX0YFg1bDTRY1pypZ2R9UGSGNPI=
MIME-Version: 1.0
Received: by 10.90.173.17 with SMTP id v17mr5712999age.143.1277339482290; Wed, 23 Jun 2010 17:31:22 -0700 (PDT)
Received: by 10.90.63.13 with HTTP; Wed, 23 Jun 2010 17:31:22 -0700 (PDT)
In-Reply-To: <4C227E2E.6010501@viagenie.ca>
References: <AANLkTiniY60njEGixPGeKvs_m1LE_uVrvtnDQuXrP7jV@mail.gmail.com> <4C20B501.6030802@viagenie.ca> <AANLkTikd9ni-iCI2tIaGi803AEDjtKXE9PEIsJsONdCO@mail.gmail.com> <AE51FE4DF2604D0A9D2697A8438376E2@Javier2> <4C21FED3.3020808@viagenie.ca> <5B4FBB6514E844ED85BB57E5F030E33D@Javier2> <4C227E2E.6010501@viagenie.ca>
Date: Thu, 24 Jun 2010 09:31:22 +0900
Message-ID: <AANLkTikqlNTJPhhK3TdZbu-5_d1LH6pNDsFiosnhAZ7n@mail.gmail.com>
From: Daisuke Miyakawa <d.miyakawa@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: multipart/alternative; boundary="0016364ed6321980930489bbc6c6"
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: Thu, 24 Jun 2010 00:31:18 -0000

+1 to Javier's plan

2010年6月24日6:35 Simon Perreault <simon.perreault@viagenie.ca>:

> On 06/23/2010 01:52 PM, Javier Godoy wrote:
> > I though that FN was (1,n) because the name of the same person may be
> > written in different languages (or scripts), and not because one person
> > could have different names in the same language.
>
> No. See section 5.1:
>
>   Properties with different LANGUAGE parameters that represent the same
>   data count as 1 toward cardinality and MUST have the same PID value
>   if the PID parameter is used.  This is because there is logically a
>   single property which is expressed in multiple languages.
>
> FN is plural because there may be multiple valid ways of representing
> one's name. Some could be preferred.
>
> > On the other side, ORG
> > is (0,n) not only because the name of the same organization may be given
> > in different languages, but also because the same individual may be
> > related to several organizations.
>
> ORG is (0,n) *only* because the same individual may be related to
> several organizations.
>
> > I would use the preferred one, if the PREF parameter is provided. In
> > case of tie, or if no SORT-STRING is provided,  would choose any of them
> > (i.e. undefined)
>
> Yes, that's a valid algorithm. I suppose we'll leave this to the
> implementors...
>
> >> Now, one thing that I like about your example is the use of the LANGUAGE
> >> tag. We need to at least add an example where the LANGUAGE tag is also
> >> applied to the SORT-STRING property.
> >
> > LANGUAGE is not a parameter for SORT-STRING. Adding a LANGUAGE would
> > allow different SORT-STRINGs for different languages while preserving
> > (0,1) cardinality.
>
> Yup, that's exactly what I meant. But now I prefer Cyrus's suggestion
> better. Let's make SORT-STRING a parameter.
>
> >> Example:
> >>
> >> ORG;LANGUAGE=ja:日本の組織  # "Japanese organization"
> >> ORG;LANGUAGE=en:Japanese organization
> >> ORG-SORT-STRING;LANGUAGE=ja:にほんのそしき
> >>
> >> (I'll figure out an equivalent example in French since we can't have
> >> Japanese characters in RFCs...)
> >
> > I don't think there is an equivalent example in US-ASCII.
>
> Then you'll be surprised by what I come up with. ;)
>
> Thanks,
> Simon
> --
> NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
> STUN/TURN server        --> http://numb.viagenie.ca
> vCard 4.0               --> http://www.vcarddav.org
>



-- 
Daisuke Miyakawa (宮川大輔)
d.miyakawa@gmail.com