<div dir="ltr"><div style>Dear Michael,</div><div style><br></div><div style>I tried to play with Lithuanian characters. </div><div style><br></div><div style>the case of <span style="font-family:arial,sans-serif;font-size:13px">'&' is different:</span></div>
<div><br></div><div><i>new-host:yanel kristinaslekyte$ xmllint /Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/fcb484fb-c5a5-44d4-9869-84bbb519c99b</i></div><div><i>/Users/kristinaslekyte/src/yanel/src/realms/use-cases/yanel/data/fcb484fb-c5a5-44d4-9869-84bbb519c99b:4: parser error : EntityRef: expecting ';'</i></div>
<div><i>  <cal:summary>I&You</cal:summary></i></div><div><i>                    ^</i></div><div><br></div><div style>I tried several encoding (<span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px">ISO-8859-1, UTF-16, UTF-8 etc.</span>), it does not solve the problem as well.</div>
<div style>So, I need to modify the code in order to solve the problem of characters, don't I?</div><div style><br></div><div style>but the new created XML files are found in the "src/realms/use-cases/yanel/data" directory. The content of the Calendar directory is always the same - the same three files for old events (old, I mean, these which I did not create, they came with installation), including <span style="font-family:arial,sans-serif;font-size:13px">3d05ae36-b8a3-4149-</span><span style="font-family:arial,sans-serif;font-size:13px">9f8b-fcf0203b52b9.xml, which you mentioned</span>. I checked the data-path/calendar directory, there are folders created for every event.</div>
<div style><br></div><div style><br></div><div style>BW,</div><div style><br></div><div style>Darius</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/27 Michael Wechner <span dir="ltr"><<a 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>
      Am 27.06.13 13:58, schrieb Darius Miliauskas:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Dear Michael,</div>
        <div><br>
        </div><div class="im">
        <div>yes, I got it. I added the ending ".xml", and it
          did not work. There were two problems:</div>
        <div><br>
        </div>
        <div>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></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/<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>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></div>
    an XML file does not have to have the suffix ".xml", only the
    content itself counts<div><div class="h5"><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>The problem regarding the calendar. Yes, I see
          that strange symbols are given instead of the symbol "<a 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" target="_blank">ü</a>" in
          the event.</div>
        <div><br>
        </div>
        <div>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 href="http://..." target="_blank">"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>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 href="http://..." target="_blank">"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 href="http://..." target="_blank">"http://..."</a>
                created="20130624T161605Z"
                last-modified="20130624T161711Z"
                dtstamp="20130624T161711Z"
                uid="d1499b44-8792-4041-9750-ec0ff8734ffd"></div>
              <div>  <cal:summary>A Day of
                &#x221A;&#xBA;!</cal:summary></div>
              <div> 
                <cal:location>Z&#x221A;&#xBA;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></div></div>
    which means you cannot reproduce generating a not well-formed XML.<br>
    <br>
    Have you tried characters like '&'?<br>
    <br>
    Thanks<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Michael</font></span><div><div class="h5"><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div style="font-family:arial,sans-serif;font-size:13px">
            <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/26 Michael Wechner <span dir="ltr"><<a 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 href="http://..." target="_blank">"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>
                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>
              <div>
                <br>
                -- <br>
                Yanel-usage mailing list <a href="mailto:Yanel-usage@wyona.com" target="_blank">Yanel-usage@wyona.com</a><br>
                <a 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></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
Yanel-usage mailing list <a href="mailto:Yanel-usage@wyona.com">Yanel-usage@wyona.com</a><br>
<a 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>