[Yanel-usage] Calendar Bug

Michael Wechner michael.wechner at wyona.com
Wed Jul 3 13:39:09 CEST 2013


Dear Darius

Yes, try to replace the current StringBuffer implementation by using

org.w3c.dom.Document
org.wyona.commons.xml.XMLHelper

Yes, the steps to install Yanel on Windows are basically the same.

Cheers

Michael

Am 03.07.13 10:51, schrieb Darius Miliauskas:
> Dear Michael,
>
> that's the point "StringBuffer". Since MAC was left in Lithuania, I 
> will reinstall Yanel to the Windows platform, firstly (I hope it won't 
> make problems coz the steps are the same, and I learnt how to deal 
> with them).
>
>
> BW,
>
> Darius Miliauskas
> From Graz
>
>
>
>
>
>
>
> 2013/7/1 Michael Wechner <michael.wechner at wyona.com 
> <mailto:michael.wechner at wyona.com>>
>
>     Am 01.07.13 07:30, schrieb Darius Miliauskas:
>>     Dear Michael,
>>
>>     I created it by using the calendar application
>>     ((Thunderbird/Sunbird)) because the user creates it this way,
>
>     good. Ok, so next step is to understand how the XML of an event is
>     actually being created, hence look again at
>
>     https://github.com/wyona/yanel/issues/51
>     https://github.com/wyona/yanel/issues/51#issuecomment-19679765
>
>     and you will find a hint ;-)
>
>     Your next question should be, how can I modify this class/method
>     and how can I compile it and debug it.
>     You might want to get started reading
>
>     http://www.yanel.org/en/documentation/resources/what-is-a-resource-type.html
>
>     HTH
>
>     Michael
>
>
>
>>     he/she does not write a code. Additionally, I guess that's the
>>     point, how to let the user create the calendar events with some
>>     special charcters (from an alphabet or the reserved one). isn't it?
>>
>>
>>     BW,
>>
>>     Darius
>>
>>
>>     2013/7/1 Darius Miliauskas <dariui.miliauskui at gmail.com
>>     <mailto:dariui.miliauskui at gmail.com>>
>>
>>         Dear Emmanouil,
>>
>>         thanks for your insight regarding the reserved symbols, it
>>         helps to understand their impact. anyway, it is not the case
>>         for special characters for the calendar events in different
>>         languages as for Lithuanian (a;, c(, e., s(, z( etc.) or
>>         German (ä, ö, ü).
>>
>>
>>         Best Wishes,
>>
>>         Darius
>>
>>
>>
>>         2013/6/30 Michael Wechner <michael.wechner at wyona.com
>>         <mailto:michael.wechner at wyona.com>>
>>
>>             Dear Darius
>>
>>             As Emmanouil (thanks btw :-) is pointing out that's how
>>             the ampersand should be escaped, such that the XML
>>             is well-formed
>>
>>             Now it is still not clear to me how you created this
>>             particular event XML which contains the ampersand.
>>             Did you create it by using the calendar application
>>             (Thunderbird/Sunbird) or did you just add the ampersand
>>             to an existing event XML in the filesystem by using a
>>             regular text editor?
>>
>>             I am asking, because I want to make sure that you are
>>             really able to reproduce and understand the actual
>>             problem such that you can try to actually solve the problem.
>>
>>             Thanks
>>
>>             Michael
>>
>>             Am 29.06.13 11:23, schrieb Emmanouil Batsis (Manos):
>>
>>                 On 06/28/2013 01:23 PM, Darius Miliauskas wrote:
>>
>>                     parser error : EntityRef: expecting ';'/
>>                     /  <cal:summary>I&You</cal:summary>/
>>                     /                    ^/
>>
>>                     I tried several encoding (ISO-8859-1, UTF-16,
>>                     UTF-8 etc.), it does not
>>                     solve the problem as well.
>>                     So, I need to modify the code in order to solve
>>                     the problem of
>>                     characters, don't I?
>>
>>
>>                 Should be
>>
>>                 <cal:summary>I&You</cal:summary>
>>
>>                 or
>>
>>                 <cal:summary>I&You</cal:summary>
>>
>>                 see
>>
>>                 http://www.dummies.com/how-to/content/common-reserved-characters-in-xml.html
>>
>>
>>
>>             -- 
>>             Yanel-usage mailing list Yanel-usage at wyona.com
>>             <mailto:Yanel-usage at wyona.com>
>>             http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>
>>
>>
>>
>>
>
>
>     --
>     Yanel-usage mailing list Yanel-usage at wyona.com
>     <mailto:Yanel-usage at wyona.com>
>     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/20130703/e6f90936/attachment.html>


More information about the Yanel-usage mailing list