Re: [VCARDDAV] Support for MLS (multiple name entries of the same person attributes in different languages)
Arnaud Quillaud <arnaudq@quillaud.org> Mon, 24 October 2011 12:28 UTC
Return-Path: <quillaud@gmail.com>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4948921F8C29 for <vcarddav@ietfa.amsl.com>; Mon, 24 Oct 2011 05:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nRMRxmxm7INC for <vcarddav@ietfa.amsl.com>; Mon, 24 Oct 2011 05:28:26 -0700 (PDT)
Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by ietfa.amsl.com (Postfix) with ESMTP id C97BC21F8C52 for <vcarddav@ietf.org>; Mon, 24 Oct 2011 05:28:25 -0700 (PDT)
Received: by eyg24 with SMTP id 24so5924313eyg.31 for <vcarddav@ietf.org>; Mon, 24 Oct 2011 05:28:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=OBgFxd3CS/sMAXwI3R1zsYpfoxH5eGiyg/gcFP45qr8=; b=XVu20x28nkQdh6qeTV4WPQp/9tdN34iHhI+EhLO/1oSRp+N5mZtpA1p2NiYgZA1QDc gUfxTetpPmS6gqPNhTeRNsxJ11Kh6N00hn5gn3xV2OJifqyhPzRq10bVBuje8Ta6A6wE HDjq40G9rUDvFK/V0f4mOeSb+zmVuhdKXXAC0=
Received: by 10.14.23.129 with SMTP id v1mr2740906eev.227.1319459304872; Mon, 24 Oct 2011 05:28:24 -0700 (PDT)
Received: from [192.168.1.100] (89-157-166-32.rev.numericable.fr. [89.157.166.32]) by mx.google.com with ESMTPS id w58sm60066380eeb.4.2011.10.24.05.28.22 (version=SSLv3 cipher=OTHER); Mon, 24 Oct 2011 05:28:23 -0700 (PDT)
Sender: Arnaud Quillaud <quillaud@gmail.com>
Message-ID: <4EA559E5.2070102@quillaud.org>
Date: Mon, 24 Oct 2011 14:28:21 +0200
From: Arnaud Quillaud <arnaudq@quillaud.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: shankar.gowda.mbn@oracle.com
References: <4EA521C5.5090008@oracle.com>
In-Reply-To: <4EA521C5.5090008@oracle.com>
Content-Type: multipart/alternative; boundary="------------070008090803000008060305"
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] Support for MLS (multiple name entries of the same person attributes in different languages)
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Mon, 24 Oct 2011 12:28:28 -0000
On 24/10/2011 10:28, Shankar Gowda MBN wrote: > Hi , > > xCard: vCard XML Representation > <http://tools.ietf.org/html/rfc6351>should support the MLS ( multiple > name entries of the same person attributes in different languages), I > want to know how these attributes are described for FN element for a > user ? > > *Assumed xcard FN example for different languages, > > Scenario 1: > > * > <fn> > <lang> > <parameters> > <perf> > <interger>3</interger> > </perf> > </parameters> > <language-tag>en</language-tag> > </lang><text>Billy Ray</text> > </fn> > <fn> > <lang> > <parameters> > <perf> > <interger>2</interger> > </perf> > </parameters> > <language-tag>ja</language-tag> > </lang> > <text>????</text> > </fn> > <fn> > <lang> > <parameters> > <perf> > <interger>1</interger> > </perf> > </parameters> > <language-tag>fr</language-tag> > </lang> > <text>Rayon de Facture</text> > </fn> > > *Scenario 2: > > * > <fn> > <lang> > <parameters> > <perf> > <interger>3</interger> > </perf> > </parameters> > <language-tag>en</language-tag> > </lang> > <text>Billy Ray</text> > <lang> > <parameters> > <perf> > <interger>2</interger> > </perf> > </parameters> > <language-tag>ja</language-tag> > </lang><text>????</text> > > <lang> > <parameters> > <perf> > <interger>1</interger> > </perf> > </parameters> > <language-tag>fr</language-tag> > </lang> > <text>Rayon de Facture</text> > </fn> > * > * > *** > Please let us know, Which one of above representations of data is > correct ? > * None of them as far as I understand. I think you mixed 2 different things: There is a lang *property* which is defined in http://tools.ietf.org/html/rfc6350#section-6.4.4 and corresponds to "language(s) that may be used for contacting the entity associated with the vCard." Then there is a language property *parameter*(defined in http://tools.ietf.org/html/rfc6350#section-5.1 ) which can be put on most properties and defines the language a particular property value is expressed in. In other words, what you want to use looks more like: <fn> <parameters> <language> <language-tag>en</language-tag> </language> </parameters> <text>Billy Ray</text> </fn> <fn> <parameters> <language> <language-tag>ja</language-tag> </language> </parameters> <text>????</text> </fn> Arnaud Quillaud > * > As per the xCard Relax NG Schema, > * > # 6.2.1 > property-fn = element fn { > element parameters { param-language, param-altid, param-pid, > param-pref, param-type }?, > value-text > } > > > * > *Regards, > Shankar > > > > > _______________________________________________ > VCARDDAV mailing list > VCARDDAV@ietf.org > https://www.ietf.org/mailman/listinfo/vcarddav
- [VCARDDAV] Support for MLS (multiple name entries… Shankar Gowda MBN
- Re: [VCARDDAV] Support for MLS (multiple name ent… Arnaud Quillaud
- Re: [VCARDDAV] Support for MLS (multiple name ent… Shankar Gowda MBN