<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">Dear Darius<br>
<br>
xmllint is the program which you should use on your command line
(terminal).<br>
(see for example <a class="moz-txt-link-freetext" href="http://xmlsoft.org/xmllint.html">http://xmlsoft.org/xmllint.html</a>)<br>
<br>
The '$' sign was just a hint for your command line prompt.<br>
<br>
HTH<br>
<br>
Michael<br>
<br>
Am 24.06.13 18:36, schrieb Darius Miliauskas:<br>
</div>
<blockquote
cite="mid:CAM6O59cXQi=gOXwzQbm9QFtQS54ziAkO0ZFqK_39FURjoWOZNQ@mail.gmail.com"
type="cite">
<div dir="ltr">Dear Michael,
<div><br>
</div>
<div style="">today I worked out with the calendar issue. thanks
for the right questions (it was like a guide, very helpful):</div>
<div style=""><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">1) Have
configured </span><a moz-do-not-send="true"
href="http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics"
target="_blank"
style="font-family:arial,sans-serif;font-size:13px">http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics</a><span
style="font-family:arial,sans-serif;font-size:13px"> as
"external/network" calendar inside your
thunderbird/ligthning</span><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">I
started Thunderbird, then I chose
File>New>Calendar.... Then I chose "On the network" in
the window of "Create a new calendar". Put </span><a
moz-do-not-send="true"
href="http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics"
target="_blank"
style="font-size:13px;font-family:arial,sans-serif">http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics</a> as
"Location" (.ics ). You can see my steps in the print screens
(the 1th and the 2th). </div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">The
calendar was configured!!</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">2) </span><span
style="font-family:arial,sans-serif;font-size:13px"> </span><span
style="font-family:arial,sans-serif;font-size:13px">If so,
then have you been able to add a new event/entry, which
should generate a new XML file inside</span></div>
<span style="font-family:arial,sans-serif;font-size:13px">YANEL_HOME/src/realms/use-</span><span
style="font-family:arial,sans-serif;font-size:13px">cases/yanel/data/calendar/</span>
<div style=""><br>
</div>
<div style="">File>New>Event...</div>
<div style="">I added St. John Day (see the print screens (the
3th and the 4th) as the attachments), chose "Save and Close".
Btw, the 21 of the June was configured as today (I solved the
small problem) but I can not see a new XML file in the
directory (the print screens (the 5th) of the directory is
also attached).</div>
<div style=""><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">3) If
so, then have you added a new event/entry containing a
special character like for example ü.</span><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">Yes, I
did. The same way as it was in the second step (the 6th and
the 7th Screen Shot). I </span>can not see a new XML file in
the directory "<span
style="font-size:13px;font-family:arial,sans-serif">YANEL_HOME/src/realms/use-</span><span
style="font-size:13px;font-family:arial,sans-serif">cases/yanel/data/calendar/</span>"
but I can see the new XML files (it is from the 2) step as
well) in the directory "<span
style="font-size:13px;font-family:arial,sans-serif">YANEL_HOME/src/realms/use-</span><span
style="font-size:13px;font-family:arial,sans-serif">cases/yanel/data/".
The bottom right corner of the 8th screen shot. They are in
one directory up - in "Data", not in "Calendar". The file of
the event of </span><span
style="font-family:arial,sans-serif;font-size:13px">ü is
attached.</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">4) Did
you check the well-formedness of this new XML file, e.g by
using the program "xmllint" on the command line, e.g.</span><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">$ cd
YANEL_HOME</span><br
style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">$
xmllint src/realms/use-cases/yanel/</span><span
style="font-family:arial,sans-serif;font-size:13px">data/calendar/26e7ee64-145e-</span><span
style="font-family:arial,sans-serif;font-size:13px">4a9a-a35d-77dbb5aa7efc.xml</span><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">Yes, I
did. Ofc, I put another path - the path of my new XML files.
Btw, they do not have the ending .xml (they are seen as
document, ofc, I can change their ending if it is the case):</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">$
xmllint </span>src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324.xml</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">$
xmllint </span>src/realms/use-cases/yanel/data/b7594997-6a29-4382-b1ed-d380eb6af7aa.xml<br>
</div>
<div style=""><br>
</div>
<div style="">Tried various cases (without xml, with or
different directories).</div>
<div style=""><br>
</div>
<div style="">But I always got "-bash: $: command not found".</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">BW,</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">Darius</span></div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/6/21 Michael Wechner <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Dear Darius<br>
<br>
Specifiying the encoding inside the XML header does not
solve the problem.<br>
<br>
It seems to me that you are still not able to really
reproduce the problem. Let me ask you one more time:<br>
<br>
1) Have configured <a moz-do-not-send="true"
href="http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics"
target="_blank">http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics</a>
as "external/network" calendar inside your
thunderbird/ligthning<br>
2) If so, then have you been able to add a new
event/entry, which should generate a new XML file inside<br>
YANEL_HOME/src/realms/use-cases/yanel/data/calendar/<br>
3) If so, then have you added a new event/entry
containing a special character like for example ü<br>
4) Did you check the well-formedness of this new XML
file, e.g by using the program "xmllint" on the command
line, e.g.<br>
<br>
$ cd YANEL_HOME<br>
$ xmllint
src/realms/use-cases/yanel/data/calendar/26e7ee64-145e-4a9a-a35d-77dbb5aa7efc.xml<br>
<br>
Please try to reproduce these steps.<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
<br>
Am 21.06.13 17:37, schrieb Darius Miliauskas:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Dear Michael,</div>
<div><br>
</div>
I think the first line of these files of "XML"
should be like given below because the problem
could be related to the encoding:
<div><br>
</div>
<div>
<pre style="vertical-align:top;line-height:1.2em;font-size:13px;background-color:rgb(249,249,249);margin-bottom:0px;font-family:monospace,monospace;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(0,153,0)"><span style="color:rgb(0,0,0);font-weight:bold"><?xml</span> <span style="color:rgb(0,0,102)">version</span>=<span style="color:rgb(255,0,0)">"1.0"</span> <span style="color:rgb(0,0,102)">encoding</span>=<span style="color:rgb(255,0,0)">"UTF-8"</span> <span style="color:rgb(0,0,0);font-weight:bold">?></span></span></pre>
<pre style="vertical-align:top;line-height:1.2em;font-size:13px;background-color:rgb(249,249,249);margin-bottom:0px;font-family:monospace,monospace;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(0,153,0)"><span style="color:rgb(0,0,0);font-weight:bold">
</span></span></pre>
<pre style="vertical-align:top;line-height:1.2em;font-size:13px;background-color:rgb(249,249,249);margin-bottom:0px;font-family:monospace,monospace;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(0,153,0)"><span style="color:rgb(0,0,0);font-weight:bold">
</span></span></pre>
BW,<br>
<br>
Darius</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/6/21 Darius
Miliauskas <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:dariui.miliauskui@gmail.com"
target="_blank">dariui.miliauskui@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">So, basically, I need/can
modify the xml files in the folder
"Calendar" (screenshot).
<div><br>
</div>
<div>BW,</div>
<div><br>
</div>
<div>Darius</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/6/21
Darius Miliauskas <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:dariui.miliauskui@gmail.com"
target="_blank">dariui.miliauskui@gmail.com</a>></span><br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Yes, I installed, I
have the calendar on the right.
Sending you the print screen.</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/6/21
Michael Wechner <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:michael.wechner@wyona.com"
target="_blank">michael.wechner@wyona.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000"> Have you
Thunderbird with
Lightinig installed?<br>
<br>
Are you able to read the
calendar with
Thunderbird/Ligthning?<br>
(when you open
Thunderbird, then you
should receive a tab
saying "Calendar"...)<br>
<br>
Cheers<br>
<br>
Michael<br>
<br>
Am 21.06.13 16:53,
schrieb Darius
Miliauskas:
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">what
do you mean
whether I can
modify the
calendar? do you
mean that I need
to change .ics
file?
<div><br>
</div>
<div>BW,</div>
<div><br>
</div>
<div>Darius</div>
</div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">2013/6/21
Michael
Wechner <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:michael.wechner@wyona.com"
target="_blank">michael.wechner@wyona.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
bgcolor="#FFFFFF"
text="#000000">
Dear Darius<br>
<br>
I am using the
Lightning 1.4
add-on
together with
Thunderbird.<br>
<br>
HTH<br>
<br>
Michael<br>
<br>
Am 21.06.13
11:45, schrieb
Darius
Miliauskas:
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">Dear
Michael,
<div><br>
</div>
<div>1) I
tried
Rainlendar.
Now I am
trying
Thunderbird.</div>
<div>2) Not so
much.</div>
<div>3) Thanks
I will try.</div>
<div><br>
</div>
<div>I
continue, I'll
contact you
afternoon.</div>
</div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">2013/6/20
Michael
Wechner <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:michael.wechner@wyona.com"
target="_blank">michael.wechner@wyona.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
bgcolor="#FFFFFF"
text="#000000">
Dear Darius<br>
<br>
You don't
really have to
understand the
ICS format,
because that's
not where the
problem is.<br>
<br>
The problem is
how the XML is
being
generated,
whereas see<br>
<br>
<a
moz-do-not-send="true"
href="https://github.com/wyona/yanel/issues/51#issuecomment-19679765"
target="_blank">https://github.com/wyona/yanel/issues/51#issuecomment-19679765</a><br>
<br>
What source
file are you
refering to
(which you
cannot open)?<br>
<br>
First let me
ask you
whether you
are really
able to
reproduce the
problem?<br>
<br>
1) Which
calendar
application do
you use for
accessing <br>
<br>
<a
moz-do-not-send="true"
href="http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics"
target="_blank">http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics</a><br>
<br>
(I am using
Thunderbird/Sunbird)<br>
<br>
2) Are you
able to modify
this calendar
with your
calendar
application?<br>
<br>
3) If so, then
can you see
the changes on
your file
system:<br>
<br>
YANEL_SOURCE/src/realms/use-cases/yanel/data/calendar.ics<br>
YANEL_SOURCE/src/realms/use-cases/yanel/data/calendar<br>
<br>
?<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
<br>
<br>
Am 20.06.13
15:55, schrieb
Darius
Miliauskas:
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">Dear
Michael,<br>
<div><br>
thank you for
the comment.
So, basically,
".ics" is for
the calendar
extention.
Still reading
about .ics.
These
characters are
<span>in
"encoding="UTF-8""?</span>
The source
file I cannot
open.<br>
<br>
<br>
</div>
<div>Best,<br>
</div>
<div><br>
</div>
<div>Darius<br>
</div>
<div><br>
p.s It could
be the problem
with nchar vs.
nvarchar (<a
moz-do-not-send="true"
href="http://msdn.microsoft.com/en-us/library/ms186939.aspx"
target="_blank">http://msdn.microsoft.com/en-us/library/ms186939.aspx</a>)<br>
</div>
</div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">2013/6/19
Michael
Wechner <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:michael.wechner@wyona.com"
target="_blank">michael.wechner@wyona.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
bgcolor="#FFFFFF"
text="#000000">
Dear Darius<br>
<br>
No, "my-realm"
is just an
example (which
does not
exist).<br>
<br>
But please see
my comments at<br>
<br>
<a
moz-do-not-send="true"
href="https://github.com/wyona/yanel/issues/51" target="_blank">https://github.com/wyona/yanel/issues/51</a><br>
<br>
and give it at
try by adding
an event
containing
special
characters (to
<a
moz-do-not-send="true"
href="http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics"
target="_blank">http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics</a>)<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 19.06.13
13:24, schrieb
Darius
Miliauskas:
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">Dear
All,
<div><br>
</div>
<div>The issue
is described
here <a
moz-do-not-send="true"
href="https://github.com/wyona/yanel/issues/51"
style="font-family:arial,sans-serif;font-size:13px"
target="_blank">https://github.com/wyona/yanel/<span
style="background-color:rgb(255,255,204);color:rgb(34,34,34)">issues</span>/51</a>.</div>
<div>Trying to
reproduce the
problem.</div>
<div><br>
</div>
Is
"calendar.ics"
put in
"my-realm"
because the
error is about
the lack of
the resources?
<div><br>
</div>
<div><br>
</div>
<div>All the
Best,</div>
<div><br>
</div>
<div>Darius
Miliauskas</div>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-usage
mailing list <a
moz-do-not-send="true" href="mailto:Yanel-usage@wyona.com"
target="_blank">Yanel-usage@wyona.com</a><br>
<a
moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-usage
mailing list <a
moz-do-not-send="true" href="mailto:Yanel-usage@wyona.com"
target="_blank">Yanel-usage@wyona.com</a><br>
<a
moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-usage
mailing list <a
moz-do-not-send="true" href="mailto:Yanel-usage@wyona.com"
target="_blank">Yanel-usage@wyona.com</a><br>
<a
moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-usage mailing list <a
moz-do-not-send="true"
href="mailto:Yanel-usage@wyona.com"
target="_blank">Yanel-usage@wyona.com</a><br>
<a moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-usage mailing list <a moz-do-not-send="true"
href="mailto:Yanel-usage@wyona.com">Yanel-usage@wyona.com</a><br>
<a moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>