Re: [VCARDDAV] Confusion regarding the correct use of FN, N and NICKNAME in RFC6350 with regards to nicknames and honorifics

Thomas Tanghus <thomas@tanghus.net> Thu, 30 January 2014 02:53 UTC

Return-Path: <thomas@tanghus.net>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 228031A0432 for <vcarddav@ietfa.amsl.com>; Wed, 29 Jan 2014 18:53:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level:
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixALpKpeCAbR for <vcarddav@ietfa.amsl.com>; Wed, 29 Jan 2014 18:53:38 -0800 (PST)
Received: from zeus.packagecloud.com (zeus.packagecloud.com [176.9.2.121]) by ietfa.amsl.com (Postfix) with ESMTP id 0228F1A042F for <vcarddav@ietf.org>; Wed, 29 Jan 2014 18:53:37 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by zeus.packagecloud.com (Postfix) with ESMTP id 85F7A484003D for <vcarddav@ietf.org>; Thu, 30 Jan 2014 02:53:33 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at zeus.packagecloud.com
Received: from zeus.packagecloud.com ([176.9.2.121]) by localhost (zeus.packagecloud.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFuUT4wpXTJx for <vcarddav@ietf.org>; Thu, 30 Jan 2014 02:53:31 +0000 (UTC)
Received: from tanghus-laptop.localnet (unknown [94.144.63.225]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thomas@tanghus.net) by zeus.packagecloud.com (Postfix) with ESMTPSA id 597A24840021 for <vcarddav@ietf.org>; Thu, 30 Jan 2014 02:53:31 +0000 (UTC)
From: Thomas Tanghus <thomas@tanghus.net>
To: vcarddav@ietf.org
Date: Thu, 30 Jan 2014 03:53:29 +0100
Message-ID: <1697636.22izYpbot2@tanghus-laptop>
User-Agent: KMail/4.12 (Linux/3.11.0-15-generic; KDE/4.12.0; x86_64; ; )
In-Reply-To: <BBD6BBCDA4FB468FCBB3024D@cyrus.local>
References: <CACS5XqM=S--v0Wp746oBky3XKkyt6072tQHnFpbJLK2Gu6=iFA@mail.gmail.com> <BBD6BBCDA4FB468FCBB3024D@cyrus.local>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [VCARDDAV] Confusion regarding the correct use of FN, N and NICKNAME in RFC6350 with regards to nicknames and honorifics
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 30 Jan 2014 02:53:40 -0000

On Tuesday 28 January 2014 16:54:40 Cyrus Daboo wrote:
> Hi Gesh,
> 
> --On January 29, 2014 at 2:18:16 AM +0200 Gesh hseG <gesh@gesh.uni.cx>
> 
> wrote:
> > In brief, assuming I refer to a person by a name that is not their full
> > name, how do I
> > 
> > A) correctly note this in their vCard,
> 
> I think that is done simply by having NICKNAME present.

I think the FN property in both rfc2426 and rfc6350 is very ambiguous.
Some interpret it as a concatenation of the N values, others as mostly a 
duplicate of NICKNAME.

I see it as neither

Both specs call it (briefly said) "formatted name", which I see as the way you 
would want the name formatted if you for example wanted to send an email to 
said person.

Say you have a vCard with:

N:Public;John;Quinlan;Sir;Esquire

The FN *could* be:

FN:John Q. Public

And the NICKNAME maybe:

NICKNAME:Joey
 
> > B) write a standards-conforming program that displays and sorts the person
> > the same way I refer to them?

You can't unless you can read minds or let the user specify FN as free form 
text and don't alter it without the user approving the change.

If I'm wrong in my interpretation please correct me, as that is how I have 
implemented it in ownCloud Contacts, and I have had several disputes about it 
already :)

> It seems that what you need is a client sort option that uses as the sort
> key the NICKNAME value if present, else the FN value (using any SORT-AS
> parameter specified for the selected property). If you do that, there is no
> need to add the N value as a SORT-AS on the FN value as you did in your
> examples.

-- 
Best regards / Med venlig hilsen

Thomas Tanghus