ietf
[Top] [All Lists]

Re: Registration of media type application/calendar+xml

2010-09-10 08:51:23
Hi Julian,

--On September 10, 2010 12:11:27 PM +0200 Julian Reschke <julian(_dot_)reschke(_at_)gmx(_dot_)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

_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>