<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
thanks for the info... There is some kind of kolab utility to test
it, but I wasnt yet able to get it to run yet.<br>
<br>
I tried to get sample files in order to ba as compatible as
possible and created unit tests to check the in/output based on
the vairous formats (which worked quite well for kolab1+2)<br>
<br>
Unfortunately with kolab3 I got quite different formats over the
time, so I still have some bugs in there. I will try to get a hold
of the libkolab test utility and try to fix whatever I can.
Unfortunately I only have very limited time this month, so I will
onlybe able to fix obvious issues and start with the more in depth
things next month.<br>
<br>
Niko<br>
<br>
On 06/29/2013 04:27 PM, Mihai Badici wrote:<br>
</div>
<blockquote cite="mid:3064742.QK9XhXJBF3@arhivio" type="cite">
<meta name="qrichtext" content="1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">As i see, in synckolab there are attributes:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-style:italic;"><sensitivity>public</sensitivity>=0A
<show-time-as>busy</show-time-as></span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">In the example at:
<a class="moz-txt-link-freetext" href="https://wiki.kolab.org/Kolab_3.0_Storage_Format">https://wiki.kolab.org/Kolab_3.0_Storage_Format</a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">the category is designed as:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-family:'Courier
New,courier'; font-style:italic;"><class></span></p>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> <text>PRIVATE</text></span></pre>
<pre style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"></class></span></pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I think the status is represented as
numerical value, I'm not sure.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Also, in synckolab this section in missing:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-family:'Courier
New,courier'; font-style:italic;"><created></span></p>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> <date-time>2009-09-01T12:52:58Z</date-time></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> </created></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> <dtstamp></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> <date-time>2012-05-05T05:05:05Z</date-time></span></pre>
<pre style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier'; font-style:italic;"> </dtstamp></span></pre>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Here, the timestamp contains the final "Z" ;
dtstart and dtent does not contain this Z in example , which is
present in synckolab</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I found also the content-type of attachment
in roundcube produced objects is application/calendar+xml, but
in synckolab is "application/x-vnd.kolab.event"</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I loose half a day trying out to figure how
the xml must look like but whith little success.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">There is a list somewhere with mandatory
attributes for calendar entry?</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Also, do we have an utility in libkolabxml
package to validate a text entry? </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I could spend some time on this issue, but
without some clear definition it's like guessing ....</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">On Friday 28 June 2013 00:03:55 you wrote:<br>
</p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">On Wednesday 22 May 2013 14:24:23 you wrote:<br>
</p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:80px;
margin-right:80px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:12px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">>It should work with the current nightly.
I fixed everything I could find >but I didnt have time to
test it completely yet.<br>
<br>
> Chec kout the new nightly and maybe write a bug report if
it still >does not work.<br>
<br>
</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:12px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I tried to find why calendar is still not
working in synckolab.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:12px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I find this error in webserver's log:</p>
<p style=" margin-top:0px; margin-bottom:12px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">error: element 'dtstart' is not allowed for
content model
'(uid,created,dtstamp,sequence?,class?,categories?,dtstart?,dtend?,duration?,transp?,rrule?,rdate?,exdate?,recurrence-id?,summary?,description?,priority?,status?,location?,organizer?,attendee*,attach*,x-custom*)'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px;
margin-right:40px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Critical:
/root/libkolabxml-master/src/xcalconversions.h 1878: Failed to </p>
</blockquote>
<br>
</body>
</html>