<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>
Am 27.06.13 13:58, schrieb Darius Miliauskas:<br>
</div>
<blockquote
cite="mid:CAM6O59c7pJF-Uzf444U-17yv+0g4dV59_ZiqERfqcFd34PJnyQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">Dear Michael,</div>
<div><br>
</div>
<div style="">yes, I got it. I added the ending ".xml", and it
did not work. There were two problems:</div>
<div style=""><br>
</div>
<div style="">a) when I create a new event, a new file for the
calendar event is created not in the directory of Calendar,
but in the directory of Data.</div>
</div>
</blockquote>
<br>
The realm "use-cases" is using a special repository implementation
which is adding references into<br>
<br>
src/realms/use-cases/yanel/data-paths<br>
<br>
like for example<br>
<br>
src/realms/use-cases/yanel/data-paths/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml/.yarep-uid<br>
<br>
and when you open this file, then you will see a reference
/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml<br>
which means the actual content can be found at<br>
<br>
src/realms/use-cases/yanel/data/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml<br>
<br>
which means I am very sure there exists for each event a reference
inside the directory<br>
<br>
src/realms/use-cases/yanel/data-paths/calendar/<br>
<br>
<blockquote
cite="mid:CAM6O59c7pJF-Uzf444U-17yv+0g4dV59_ZiqERfqcFd34PJnyQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">b) it's created without the ending ".xml" despite
the fact that it is an xml type file. Therefore, I shouldn't
add the ending ".xml".</div>
</div>
</blockquote>
<br>
an XML file does not have to have the suffix ".xml", only the
content itself counts<br>
<br>
<blockquote
cite="mid:CAM6O59c7pJF-Uzf444U-17yv+0g4dV59_ZiqERfqcFd34PJnyQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style=""><br>
</div>
<div style="">The problem regarding the calendar. Yes, I see
that strange symbols are given instead of the symbol "<a
moz-do-not-send="true"
href="http://en.wikipedia.org/wiki/%C3%9C" title="Ü"
style="color:rgb(11,0,128);background-image:none;font-family:sans-serif;font-size:13px;line-height:19px">ü</a>" in
the event.</div>
<div style=""><br>
</div>
<div style="">My tests are given below:</div>
<div><br>
</div>
<div>1) testing the file frm the Calendar directory:</div>
<div>new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml</div>
<div><?xml version="1.0"?></div>
<div><cal:event xmlns:cal=<a class="moz-txt-link-rfc2396E" href="http://...">"http://..."</a>
created="20061205T225120Z" last-modified="20061205T225120Z"
dtstamp="20061205T225120Z"
uid="3d05ae36-b8a3-4149-9f8b-fcf0203b52b9" class="PUBLIC"
categories="Conference"></div>
<div> <cal:summary>Yulup/Neutron Presentation at XML
Conference 2006</cal:summary></div>
<div> <cal:location>Sheraton Boston
Hotel</cal:location></div>
<div> <cal:dtstart value="DATE"
tzid="Europe/Zurich:20061206T133000"/></div>
<div> <cal:dtend value="DATE"
tzid="Europe/Zurich:20061206T143000"/></div>
<div></cal:event></div>
<div><br>
</div>
<div>
<div style="font-family:arial,sans-serif;font-size:13px">
<div style="">2) testing a new created file frm the Data
directory:</div>
<div>new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324</div>
<div><?xml version="1.0"?></div>
<div><cal:event xmlns:cal=<a class="moz-txt-link-rfc2396E" href="http://...">"http://..."</a>
created="20130624T160555Z"
last-modified="20130624T160702Z"
dtstamp="20130624T160702Z"
uid="0c212c78-c68f-0848-9515-7aed78258a11"></div>
<div> <cal:summary>St. John Day</cal:summary></div>
<div> <cal:location>Lithuania</cal:location></div>
<div> <cal:dtstart value="DATE"
tzid="Europe/Vilnius:20130623T190000"/></div>
<div> <cal:dtend value="DATE"
tzid="Europe/Vilnius:20130624T225900"/></div>
<div></cal:event></div>
<div><br>
</div>
<div>3) testing another new created file frm the Data
directory:<br>
</div>
<div>
<div>new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/b7594997-6a29-4382-b1ed-d380eb6af7aa</div>
<div><?xml version="1.0"?></div>
<div><cal:event xmlns:cal=<a class="moz-txt-link-rfc2396E" href="http://...">"http://..."</a>
created="20130624T161605Z"
last-modified="20130624T161711Z"
dtstamp="20130624T161711Z"
uid="d1499b44-8792-4041-9750-ec0ff8734ffd"></div>
<div> <cal:summary>A Day of
ü!</cal:summary></div>
<div>
<cal:location>Zürich!</cal:location></div>
<div> <cal:dtstart value="DATE"
tzid="Europe/Vilnius:20130624T200000"/></div>
<div> <cal:dtend value="DATE"
tzid="Europe/Vilnius:20130624T210000"/></div>
<div></cal:event></div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
which means you cannot reproduce generating a not well-formed XML.<br>
<br>
Have you tried characters like '&'?<br>
<br>
Thanks<br>
<br>
Michael<br>
<blockquote
cite="mid:CAM6O59c7pJF-Uzf444U-17yv+0g4dV59_ZiqERfqcFd34PJnyQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div style="font-family:arial,sans-serif;font-size:13px">
<div><br>
</div>
<div style="">BW,</div>
<div style=""><br>
</div>
<div style="">Darius</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/6/26 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">Dear Mirek<br>
<br>
I am not sure what you are refering to by saying "I think it
could be a problem with paths (absolute or relative)"...?<br>
<br>
Are you able now to run xmllint?<br>
<br>
When I run xmllint on an existing file, then I receive the
following output:<br>
<br>
xmllint src/realms/use-cases/yanel/data/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml
<br>
<?xml version="1.0"?><br>
<cal:event xmlns:cal=<a class="moz-txt-link-rfc2396E" href="http://...">"http://..."</a>
created="20061205T225120Z" last-modified="20061205T225120Z"
dtstamp="20061205T225120Z" uid="3d05ae36-b8a3-4149-9f8b-fcf0203b52b9"
class="PUBLIC" categories="Conference"><br>
<cal:summary>Yulup/Neutron Presentation at XML
Conference 2006</cal:summary><br>
<cal:location>Sheraton Boston
Hotel</cal:location><br>
<cal:dtstart value="DATE" tzid="Europe/Zurich:20061206T133000"/><br>
<cal:dtend value="DATE" tzid="Europe/Zurich:20061206T143000"/><br>
</cal:event><br>
<br>
Can you reproduce this?<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 26.06.13 07:30, schrieb Darius Miliauskas:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Michael,<br>
<br>
<div class="im">
thanks, I read the information about xmllint you gave! I
tried:<br>
<br>
new-host:yanel kristinaslekyte$ xmllint
src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324.xml<br>
warning: failed to load external entity
"src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324.xml"<br>
<br>
I think it could be a problem with paths (absolute or
relative).<br>
<br>
<br>
BW,<br>
<br>
Darius<br>
<br>
<br>
</div>
</blockquote>
<div class="HOEnZb">
<div class="h5">
<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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>