[sync] Fwd: Re: Syncml client v2.5
Joeri Pronk
joeri at joeri.nu
Wed Apr 27 03:24:41 PDT 2005
Here is problably some useful info I got from synthesis about the
vcalendar format that is used in Horde.
BTW: Karsten,the refactoring of the syncml code is great! this is a big
leap for syncml with horde.
----- Doorgestuurd bericht van luz at synthesis.ch -----
Datum: Tue, 26 Apr 2005 16:58:28 +0200
Van: Lukas Zeller <luz at synthesis.ch>
Antwoorden aan:Lukas Zeller <luz at synthesis.ch>
Onderwerp: Re: Syncml client v2.5
Aan: Joeri Pronk <joeri at joeri.nu>
Hi Joeri,
thanks for the logs.
The problem is that the horde server for some unknown reason now sends
calendar entries in an invalid vCalendar format (a mixture of vCalendar
1.0 and iCalendar 2.0). This is clearly a bug in the server, and has
nothing to do with the version v2.1 vs. v2.5 of our client.
In Detail:
The server sends entries with MIME type "text/x-vcalendar", which would
indicate vCalendar v1.0.
However, the actual data set is someting like:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//The Horde Project//Horde_iCalendar Library //EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20050429T100000Z
DTEND:20050429T110000Z
DTSTAMP:20050426T004536Z
SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=
Servers de Poort
TRANSP:OPAQUE
ORGANIZER;CN=Joeri Pronk:MAILTO:joeri at joeri.nu
CATEGORIES:Esprit
END:VEVENT
END:VCALENDAR
The second line (VERSION:2.0) identifies this as a iCalendar 2.0 entry.
However, it is NOT iCalendar 2.0 compatible as the CHARSET attribute is
not allowed in iCalendar 2.0.
If the VERSION line is fixed to read VERSION:1.0, it will be conformant
and will work with our client :-)
> My guess is that the the syncml client expects vcard data in a CDATA section?
No - CDATA is something that only exists in XML, not in WBXML (and the
real data transfer between server and client is WBXML).
Best regards,
--
Lukas Zeller (luz at synthesis.ch)
-
Synthesis AG, SyncML Solutions & Sustainable Software Concepts
Rosengartenstr. 1a, 8037 Zürich
Tel: +41 44 440 66 00, Fax: +41 44 440 66 04
info at synthesis.ch, http://www.synthesis.ch
----- Einde doorgestuurd bericht -----
More information about the sync
mailing list