<html><body>

<p>having run the test-suite this is what I found:</p>
<p>########## Test recur parser                        (8) ##########<br />not ok 209 - FREQ=YEARLY;UNTIL=20000131T090000Z;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8<br /># test failed: ""<br />#          at: regression.c:2291<br />#      got: FREQ=YEARLY;UNTIL=20000131T090000Z;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8<br /># expected: FREQ=YEARLY;UNTIL=20000131T090000Z;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8<br />not ok 210 - FREQ=DAILY;COUNT=3;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8<br /># test failed: ""<br />#          at: regression.c:2296<br />#      got: FREQ=DAILY;COUNT=3;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8<br /># expected: FREQ=DAILY;COUNT=3;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8</p>
<p>thats the Interval missing we're talking about, right?</p>
<p>So it seems as if our own test-suite says <tt>Benoit might be right?<br /></tt></p>
<blockquote>
<div class="message_header"><span>Fr Aug 07 2009 04:16:42 EDT</span> <span>von  "Patrick Ohly" <patrick.ohly@gmx.de> </span> <span class="message_subject">Betreff: Re: [Freeassociation-devel] default INTERVAL parameter</span></div>
<div class="message_content"><tt>On Tue, 2009-08-04 at 08:34 +0200, Benoit Schmid wrote:</tt><br />
<blockquote><tt>The ical rfc states that the default value for INTERVAL parameter</tt><br /> <tt>is one.</tt><br /> <tt></tt><br /> <tt>Therefore in you code you have implemented:</tt><br /> <tt>if(recur->interval != 1){ ...</tt><br /> <tt><a href="http://mxr.mozilla.org/comm-central/source/calendar/libical/src/libical/icalrecur.c#570" target="webcit01">http://mxr.mozilla.org/comm-central/source/calendar/libical/src/libical/icalrecur.c#570</a></tt><br /> <tt></tt><br /> <tt>Unfortunately this causes problems for programs that does not</tt><br /> <tt>implement the default value.</tt><br /> <tt></tt><br /> <tt>We use Lightning client with a Synchronica SyncML gateway.</tt><br /> <tt>Because of this interval not provided anymore, our smart phones</tt><br /> <tt>do not synchronize the recurrent anymore.</tt><br /> <tt></tt><br /> <tt>Lightning developers told me that it could be only</tt><br /> <tt>changed in libical.</tt><br /> <tt></tt><br /></blockquote>
<tt>As a developer of a SyncML client (and soon server), I tend to disagree</tt><br /> <tt>with this.</tt><br /> <tt></tt><br /> <tt>If I understand it correctly, the Lightning client sends valid iCalendar</tt><br /> <tt>2.0 which is either not parsed correctly by the Synchronica server or</tt><br /> <tt>passed through by it in a way which then confuses the smart phones. In</tt><br /> <tt>both cases the correct solution is to improve the server.</tt><br /> <tt></tt><br /> <tt>The second best solution is to tweak the outgoing format of the SyncML</tt><br /> <tt>client. libical is not designed for this. What if one recipient wants</tt><br /> <tt>INTERVAL=1 and another chokes on it (unlikely, but who knows...)?</tt><br /> <tt>INTERVAL is perhaps a bad example, there might be better ones.</tt><br /> <tt></tt><br /> <tt>If a SyncML client wants flexible iCalendar 2.0 *and* vCalendar 1.0</tt><br /> <tt>support, then I recommend the Synthesis SyncML engine [1]. That's what</tt><br /> <tt>SyncEvolution uses now.</tt><br /> <tt></tt><br /> <tt>[1] <a href="http://lwn.net/Articles/333441/" target="webcit01">http://lwn.net/Articles/333441/</a></tt><br /> <tt></tt><br /> <tt>-- </tt><br /> <tt>Bye, Patrick Ohly</tt><br /> <tt>-- </tt><br /> <tt>Patrick.Ohly@gmx.de</tt><br /> <tt><a href="http://www.estamos.de/" target="webcit01">http://www.estamos.de/</a></tt><br /> <tt></tt><br /> <tt></tt><br /> <tt></tt><br /> <tt>------------------------------------------------------------------------------</tt><br /> <tt>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day </tt><br /> <tt>trial. Simplify your report design, integration and deployment - and focus on </tt><br /> <tt>what you do best, core application coding. Discover what's new with </tt><br /> <tt>Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="webcit01">http://p.sfnet/sfu/bobj-july</a></tt><br /> <tt>_______________________________________________</tt><br /> <tt>Freeassociation-devel mailing list</tt><br /> <tt>Freeassociation-devel@lists.sourceforge.net</tt><br /> <tt>https://lists.sourceforge.net/lists/listinfo/freeassociation-devel</tt><br /> <br /></div>
</blockquote>
<p> </p>
</body></html>