Hi Pascal,

--On November 5, 2007 1:32:17 PM -0500 Pascal Robert <[EMAIL PROTECTED]> wrote:

still trying to get a REPORT request working from my WebObjects app :-)
I created a new event, and it's stored into iCal Server, so that's fine.
But when I query the collection, I get:

2007-11-05 13:28:24-0500 [-] [caldav-8008]  [-] start attribute in
<time-range> is not UTC: 2007-11-05 13:22:07 2007-11-05 13:28:24-0500 [-]
[caldav-8008]  [-] "Invalid filter element:
<{urn:ietf:params:xml:ns:caldav}filter {}:
(<{urn:ietf:params:xml:ns:caldav}comp-filter {'name': u'VCALENDAR'}:
(<{urn:ietf:params:xml:ns:caldav}comp-filter {'name': u'VEVENT'}:
(<{urn:ietf:params:xml:ns:caldav}time-range {'start': u'20071105T132207',
'end': u'20071105T132307'}: ()>,)>,)>,)>"

The XML data you are sending in the REPORT body is wrong. The start/end attributes in the <time-range> element MUST be UTC values which means they need to have a 'Z' at the end of the date-time values (just as they do in the actual iCalendar data when representing a UTC value). You will obviously have to make sure you adjust those values to the appropriate UTC time period you are interested in.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to