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

"Javier Godoy" <rjgodoy@fich.unl.edu.ar> Wed, 23 June 2010 07:43 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 374773A6950 for <vcarddav@core3.amsl.com>; Wed, 23 Jun 2010 00:43:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.002
X-Spam-Level:
X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[BAYES_50=0.001, 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 u9dT9xXbAUgI for <vcarddav@core3.amsl.com>; Wed, 23 Jun 2010 00:43:35 -0700 (PDT)
Received: from fich.unl.edu.ar (fich.unl.edu.ar [168.96.132.90]) by core3.amsl.com (Postfix) with ESMTP id 4BC383A67C0 for <vcarddav@ietf.org>; Wed, 23 Jun 2010 00:43:35 -0700 (PDT)
Received: from Javier2 ([190.193.124.162]) (authenticated user rjgodoy@fich.unl.edu.ar) by fich.unl.edu.ar (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits)); Wed, 23 Jun 2010 04:43:49 -0300
Message-ID: <AE51FE4DF2604D0A9D2697A8438376E2@Javier2>
From: Javier Godoy <rjgodoy@fich.unl.edu.ar>
To: Daisuke Miyakawa <d.miyakawa@gmail.com>, Simon Perreault <simon.perreault@viagenie.ca>
References: <AANLkTiniY60njEGixPGeKvs_m1LE_uVrvtnDQuXrP7jV@mail.gmail.com><4C20B501.6030802@viagenie.ca> <AANLkTikd9ni-iCI2tIaGi803AEDjtKXE9PEIsJsONdCO@mail.gmail.com>
Date: Wed, 23 Jun 2010 04:43:19 -0300
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="ISO-2022-JP"; 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
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 07:43:37 -0000

On June 22, 2010 11:03 PM, Daisuke Miyakawa wrote:

> Personally, I suppose it might be better to accept multiple SORT-STRING
> (0,n) and ask vCard composers to explicitly add PREF when they want to add
> preference information to them.

Since ORG is (0,n) now it makes sense to define SORT-STRING as (0,n), but each
ORG should be related to at most one SORT-STRING, thus preference is not
required (the preferred organization SORT-STRING is that of the preferred ORG
property)

>Even when they cannot recognize multiple SORT-STRINGs, they can pick up one
>with the highest PREF value.

BEGIN:VCARD
VERSION:4.0
name.N;宮川;大輔;;;
name.FN:宮川 大輔
org1.ORG;LANGUAGE=ja;PREF=80:日本の組織  # "Japanese organization"
org1.ORG;LANGUAGE=en;PREF=80:Japanese organization
org2.ORG;LANGUAGE=ja;PREF=70: もう一つの日本の組織
org2.ORG;LANGUAGE=en;PREF=70:Another Japanese organization
name.SORT-STRING:みやかわ;だいすけ
org1.SORT-STRING:にほんのそしき
org2.SORT-STRING:もう ひとつ の にっぽん の そしき
NOTE: I don't understand Japanese...
 I'm just doing my best to understand this issue.
END:VCARD

Note that the case of ORG is different from N, because language dependent
values may be specified. Maybe SORT-STRING should have a LANGUAGE parameter,
so that several SORT-STRING may be provided (when displaying English, it has
no sense to sort "Japanese organization" under "にほんのそしき", even if the
implementation supports it)

Besides, how are non-Japanese strings sorted among Japanese ones?

Does it help to interoperability if romanized SORT-STRINGs are provided
along/instead kana? Is it redundant? Is it ambiguous?
 SORT-STRING;にほんのそしき
 SORT-STRING;nippon no soshiki

What would happen if some vCard authors use one approach and others use the
other?


Best Regards

Javier