Re: Registration of media type application/calendar+xml

Cyrus Daboo <cyrus@daboo.name> Fri, 10 September 2010 13:50 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 04A4A3A68D9 for <ietf@core3.amsl.com>; Fri, 10 Sep 2010 06:50:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.444
X-Spam-Level:
X-Spam-Status: No, score=-102.444 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 PkvGRqsPXOdk for <ietf@core3.amsl.com>; Fri, 10 Sep 2010 06:50:34 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id C81943A6403 for <IETF@ietf.org>; Fri, 10 Sep 2010 06:50:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 91A3C1923FFB8; Fri, 10 Sep 2010 09:50:59 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YWuLiIDpFdTh; Fri, 10 Sep 2010 09:50:54 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id 529551923FFAD; Fri, 10 Sep 2010 09:50:50 -0400 (EDT)
Date: Fri, 10 Sep 2010 09:50:47 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Julian Reschke <julian.reschke@gmx.de>, Keith Moore <moore@cs.utk.edu>
Subject: Re: Registration of media type application/calendar+xml
Message-ID: <33CD8F087C1564B1C8470E02@caldav.corp.apple.com>
In-Reply-To: <32508_1284113533_o8AACCd3000879_4C8A044F.1040603@gmx.de>
References: <F842A373EE7E9C439CA07CCB01BBD1D0564C4899@TK5EX14MBXC138.redmond.corp.microsoft.com> <341B449F-7DFE-4A40-84B0-D008658A08DF@cs.utk.edu> <B0EA09C87A5701A94419DB8F@socrates.local> <673F57D3-B2EC-4ABF-B450-EEEA3A4C185A@cs.utk.edu> <AANLkTinon97N3njcAV=FUj7-_ZJugazVCuaVbySbXr_L@mail.gmail.com> <193EC4D4-1B6C-4B14-ACD7-3237517566F5@cs.utk.edu> <32508_1284113533_o8AACCd3000879_4C8A044F.1040603@gmx.de>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=773
Cc: Douglass Mike <douglm@rpi.edu>, Phillip Hallam-Baker <hallam@gmail.com>, Alexey Melnikov <Alexey.Melnikov@isode.com>, ietf-types@iana.org, Steven Lees <Steven.Lees@microsoft.com>, IETF@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2010 13:50:36 -0000

Hi Julian,

--On September 10, 2010 12:11:27 PM +0200 Julian Reschke 
<julian.reschke@gmx.de> wrote:

>> If your programmer is spending 70% of his coding time dealing with a
>> presentation layer, even one as convoluted as iCalendar, you should fire
>> him. It's not like regular expression parsers are hard to come by these
>> days. Nor are libraries that can parse standard formats hard to come by.
>
> Can iCalendar be parsed reliably with regexps? (just asking).

The Python vobject library that we use in our CalDAV server 
(http://calendarserver.org) does use regular expressions for parsing entire 
lines (after applying line "unfolding" of the overall text object), and 
then parsing out pieces of those. That is used for both iCalendar and vCard.

-- 
Cyrus Daboo