Re: [VCARDDAV] AD review of draft-ietf-vcarddav-carddav-07.txt

Alexey Melnikov <alexey.melnikov@isode.com> Mon, 17 August 2009 11:57 UTC

Return-Path: <alexey.melnikov@isode.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 CEB6F28C2B0 for <vcarddav@core3.amsl.com>; Mon, 17 Aug 2009 04:57:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.181
X-Spam-Level:
X-Spam-Status: No, score=-2.181 tagged_above=-999 required=5 tests=[AWL=-0.182, BAYES_00=-2.599, J_CHICKENPOX_34=0.6]
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 zpnqPnbTDpao for <vcarddav@core3.amsl.com>; Mon, 17 Aug 2009 04:57:09 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1FF383A6C6D for <vcarddav@ietf.org>; Mon, 17 Aug 2009 04:57:06 -0700 (PDT)
Received: from [172.16.2.123] (shiny.isode.com [62.3.217.250]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <SolFkAB9YUqm@rufus.isode.com>; Mon, 17 Aug 2009 12:57:06 +0100
Message-ID: <4A894583.6000409@isode.com>
Date: Mon, 17 Aug 2009 12:56:51 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Julian Reschke <julian.reschke@gmx.de>
References: <4A888C37.50400@isode.com> <4A888FEF.4070701@isode.com> <4A89433A.1000205@gmx.de>
In-Reply-To: <4A89433A.1000205@gmx.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: CardDAV <vcarddav@ietf.org>
Subject: Re: [VCARDDAV] AD review of draft-ietf-vcarddav-carddav-07.txt
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: Mon, 17 Aug 2009 11:57:09 -0000

Julian Reschke wrote:

> Alexey Melnikov wrote:
>
>> ...
>> [...]
>>
>>   5.  Well-defined internationalization support through standard HTTP.
>>
>> This is a bit misleading, because this is or isn't true depending
>> on which HTTP feature you mean here.
>> ...
>
> I think it's generally not true, unless we talk about payloads.
>
> So I think the I18N support is due to XML and WebDAV's use of it.

Exactly.

I was thinking at first that this was referencing to something like 
Accept-Language, but it doesn't.

>>  ...
>> 6.2.1.  CARDDAV:addressbook-description Property
>>
>>   Name:  addressbook-description
>>
>>   Namespace:  urn:ietf:params:xml:ns:carddav
>>
>>   Purpose:  Provides a human-readable description of the address book
>>      collection.
>>
>> BCP 18 (RFC 2277), section 4.2 applies to elements carrying human 
>> readable text.
>> Any human readable text needs to be [optionally] accompanied by RFC 
>> 4646 language tags.
>>
>> You even use of xml:lang in your example later in this section. 
>> However the definition doesn't allow for this attribute:
>>
>>   Definition:
>>
>>       <!ELEMENT addressbook-description (#PCDATA)>
>>       <!-- PCDATA value: string -->
>
> > ...
>
> The DTDs are incomplete; see for instance 
> <http://greenbytes.de/tech/webdav/draft-ietf-vcarddav-carddav-07.html#rfc.section.2.p.3>. 
>
>
> xml:lang is explicitly mentioned in RFC 4918, see 
> <http://greenbytes.de/tech/webdav/rfc4918.html#rfc.section.4.3.p.3>.

I found that. But if use of xml:lang is implicitly allowed, then the 
description should still have some description on how I18N can be achieved.