Re: [Ietf-caldav] i;octet collation requirement

Cyrus Daboo <cyrus@daboo.name> Sun, 17 December 2006 04:22 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: ietf-caldav@osafoundation.org
Delivered-To: ietf-caldav@osafoundation.org
Received: from laweleka.osafoundation.org (laweleka.osafoundation.org [204.152.186.98]) by leilani.osafoundation.org (Postfix) with ESMTP id E84417F53C for <ietf-caldav@osafoundation.org>; Sat, 16 Dec 2006 20:22:15 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id 1A219142264 for <ietf-caldav@osafoundation.org>; Sat, 16 Dec 2006 21:25:42 -0800 (PST)
Received: from laweleka.osafoundation.org ([127.0.0.1]) by localhost (laweleka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03216-08 for <ietf-caldav@osafoundation.org>; Sat, 16 Dec 2006 21:25:41 -0800 (PST)
Received: from mulberrymail.com (static-71-240-120-213.pitt.east.verizon.net [71.240.120.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id 6D1DD142262 for <ietf-caldav@osafoundation.org>; Sat, 16 Dec 2006 21:25:40 -0800 (PST)
Received: from [10.0.1.3] ([10.0.1.3]) (authenticated bits=0) by mulberrymail.com (8.13.6/8.13.6) with ESMTP id kBGLJ124022844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Dec 2006 16:19:06 -0500
Date: Sat, 16 Dec 2006 16:19:01 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Julian Reschke <julian.reschke@gmx.de>, CalDAV DevList <ietf-caldav@osafoundation.org>
Subject: Re: [Ietf-caldav] i;octet collation requirement
Message-ID: <7C2FED3D13FC620F8A108222@ninevah.local>
In-Reply-To: <45841602.1000006@gmx.de>
References: <45841602.1000006@gmx.de>
X-Mailer: Mulberry/4.0.7 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org
X-Spam-Status: No, hits=-3.3 tagged_above=-50.0 required=4.0 tests=ALL_TRUSTED
X-Spam-Level:
Cc: The IESG <iesg@ietf.org>
X-BeenThere: ietf-caldav@osafoundation.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussions on Calendar Access protocol based on WebDAV <ietf-caldav.osafoundation.org>
List-Unsubscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=unsubscribe>
List-Archive: <http://lists.osafoundation.org/pipermail/ietf-caldav>
List-Post: <mailto:ietf-caldav@osafoundation.org>
List-Help: <mailto:ietf-caldav-request@osafoundation.org?subject=help>
List-Subscribe: <http://lists.osafoundation.org/mailman/listinfo/ietf-caldav>, <mailto:ietf-caldav-request@osafoundation.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Dec 2006 04:22:16 -0000

Hi Julian,

--On December 16, 2006 4:51:30 PM +0100 Julian Reschke 
<julian.reschke@gmx.de> wrote:

> In
> <http://greenbytes.de/tech/webdav/draft-dusseault-caldav-15.html#rfc.sect
> ion.7.5>, CalDAV requires:
>
> ++
> CalDAV servers are REQUIRED to support the "i;ascii-casemap" and
> "i;octet" collations as described in [I-D.newman-i18n-comparator], and
> MAY support other collations.
> ++
>
> As CalDAV is not defined in terms of octet sequences, but in terms of
> Unicode characters, how is "i;octet" supposed to provide any meaningful
> results?
>
> Did anybody implement that? How?

The base collation specification only defines i;ascii-casemap and i;octet. 
Work is ongoing to provide better "unicode" collations:

i;basic - 
<http://www.ietf.org/internet-drafts/draft-gulbrandsen-collation-basic-00.txt>

i;unicode-casemap - 
<http://www.ietf.org/internet-drafts/draft-crispin-collation-unicasemap-00.txt>

Certainly text matching on user supplied calendar data in properties such 
as SUMMARY and DESCRIPTION will require one of these (I certainly intend to 
implement one or both of these).

In the meantime i;ascii-casemap and i;octet can be used to match "tokens" 
in iCalendar enumerated properties which are just plain ascii.

-- 
Cyrus Daboo