[Yanel-usage] Calendar Bug

Darius Miliauskas dariui.miliauskui at gmail.com
Thu Jun 27 13:58:38 CEST 2013


Dear Michael,

yes, I got it. I added the ending ".xml", and it did not work. There were
two problems:

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.
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".

The problem regarding the calendar. Yes, I see that strange symbols are
given instead of the symbol "ü <http://en.wikipedia.org/wiki/%C3%9C>" in
the event.

My tests are given below:

1) testing the file frm the Calendar directory:
new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/calendar/3d05ae36-b8a3-4149-9f8b-fcf0203b52b9.xml
<?xml version="1.0"?>
<cal:event xmlns:cal="http://..." created="20061205T225120Z"
last-modified="20061205T225120Z" dtstamp="20061205T225120Z"
uid="3d05ae36-b8a3-4149-9f8b-fcf0203b52b9" class="PUBLIC"
categories="Conference">
  <cal:summary>Yulup/Neutron Presentation at XML Conference
2006</cal:summary>
  <cal:location>Sheraton Boston Hotel</cal:location>
  <cal:dtstart value="DATE" tzid="Europe/Zurich:20061206T133000"/>
  <cal:dtend value="DATE" tzid="Europe/Zurich:20061206T143000"/>
</cal:event>

2) testing a new created file frm the Data directory:
new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324
<?xml version="1.0"?>
<cal:event xmlns:cal="http://..." created="20130624T160555Z"
last-modified="20130624T160702Z" dtstamp="20130624T160702Z"
uid="0c212c78-c68f-0848-9515-7aed78258a11">
  <cal:summary>St. John Day</cal:summary>
  <cal:location>Lithuania</cal:location>
  <cal:dtstart value="DATE" tzid="Europe/Vilnius:20130623T190000"/>
  <cal:dtend value="DATE" tzid="Europe/Vilnius:20130624T225900"/>
</cal:event>

3) testing another new created file frm the Data directory:
new-host:yanel kristinaslekyte$ xmllint
/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/b7594997-6a29-4382-b1ed-d380eb6af7aa
<?xml version="1.0"?>
<cal:event xmlns:cal="http://..." created="20130624T161605Z"
last-modified="20130624T161711Z" dtstamp="20130624T161711Z"
uid="d1499b44-8792-4041-9750-ec0ff8734ffd">
  <cal:summary>A Day of &#x221A;&#xBA;!</cal:summary>
  <cal:location>Z&#x221A;&#xBA;rich!</cal:location>
  <cal:dtstart value="DATE" tzid="Europe/Vilnius:20130624T200000"/>
  <cal:dtend value="DATE" tzid="Europe/Vilnius:20130624T210000"/>
</cal:event>


BW,

Darius


2013/6/26 Michael Wechner <michael.wechner at wyona.com>

> Dear Mirek
>
> I am not sure what you are refering to by saying "I think it could be a
> problem with paths (absolute or relative)"...?
>
> Are you able now to run xmllint?
>
> When I run xmllint on an existing file, then I receive the following
> output:
>
> xmllint src/realms/use-cases/yanel/**data/calendar/3d05ae36-b8a3-**4149-9f8b-fcf0203b52b9.xml
>
> <?xml version="1.0"?>
> <cal:event xmlns:cal="http://..." created="20061205T225120Z"
> last-modified="**20061205T225120Z" dtstamp="20061205T225120Z"
> uid="3d05ae36-b8a3-4149-9f8b-**fcf0203b52b9" class="PUBLIC"
> categories="Conference">
>   <cal:summary>Yulup/Neutron Presentation at XML Conference
> 2006</cal:summary>
>   <cal:location>Sheraton Boston Hotel</cal:location>
>   <cal:dtstart value="DATE" tzid="Europe/Zurich:**20061206T133000"/>
>   <cal:dtend value="DATE" tzid="Europe/Zurich:**20061206T143000"/>
> </cal:event>
>
> Can you reproduce this?
>
> Thanks
>
> Michael
>
> Am 26.06.13 07:30, schrieb Darius Miliauskas:
>
>> Dear Michael,
>>
>> thanks, I read the information about xmllint you gave! I tried:
>>
>> new-host:yanel kristinaslekyte$ xmllint src/realms/use-cases/yanel/**
>> data/2043476d-8fd7-4a89-adfd-**e98428e74324.xml
>> warning: failed to load external entity "src/realms/use-cases/yanel/**
>> data/2043476d-8fd7-4a89-adfd-**e98428e74324.xml"
>>
>> I think it could be a problem with paths (absolute or relative).
>>
>>
>> BW,
>>
>> Darius
>>
>>
>>
> --
> Yanel-usage mailing list Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-**bin/mailman/listinfo/yanel-**usage<http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-usage/attachments/20130627/60c1b32d/attachment.html>


More information about the Yanel-usage mailing list