Re: [VCARDDAV] Support for MLS (multiple name entries of the same person attributes in different languages)

Shankar Gowda MBN <shankar.gowda.mbn@oracle.com> Mon, 24 October 2011 12:44 UTC

Return-Path: <shankar.gowda.mbn@oracle.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 6567621F8D51 for <vcarddav@ietfa.amsl.com>; Mon, 24 Oct 2011 05:44:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level:
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 XJPDTSMjzmUh for <vcarddav@ietfa.amsl.com>; Mon, 24 Oct 2011 05:44:32 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id 0C51421F8D52 for <vcarddav@ietf.org>; Mon, 24 Oct 2011 05:44:31 -0700 (PDT)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9OCiSe7011468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Oct 2011 12:44:30 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p9OCiSx6017104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Oct 2011 12:44:28 GMT
Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p9OCiMxR016220; Mon, 24 Oct 2011 07:44:22 -0500
Received: from [129.158.228.162] (/129.158.228.162) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Oct 2011 05:44:21 -0700
Message-ID: <4EA55D33.5090007@oracle.com>
Date: Mon, 24 Oct 2011 18:12:27 +0530
From: Shankar Gowda MBN <shankar.gowda.mbn@oracle.com>
Organization: SGT
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: Arnaud Quillaud <arnaudq@quillaud.org>
References: <4EA521C5.5090008@oracle.com> <4EA559E5.2070102@quillaud.org>
In-Reply-To: <4EA559E5.2070102@quillaud.org>
Content-Type: multipart/alternative; boundary="------------050907010906040806000307"
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090201.4EA55DAF.002D:SCFMA922111,ss=1,re=-6.300,fgs=0
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
Reply-To: shankar.gowda.mbn@oracle.com
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:44:34 -0000

Hi Arnaud,

Got It.  Thanks for the snippet.

Regards,
Shankar
On 10/24/2011 5:58 PM, Arnaud Quillaud wrote:
> 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
>


-- 
Regards, Shankar


Oracle India Pvt. Ltd.
Shankar Gowda MBN | Senior Member Technical Staff
Phone: +918066927179 <tel:+918066927179> | Fax: +918022231794 
<fax:+918022231794> | Mobile: +919972544226 <tel:+919972544226>
Oracle Server Globalization Technology

ORACLE India | IDC, Divyasree Chambers, Off Langford Road, | 560025 
Bengaluru
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment