Note by Toltec

Bernhard Reiter bernhard at intevation.de
Wed Jul 14 12:48:26 CEST 2004


On Wednesday 14 July 2004 09:02, Joon Radley wrote:
> Hi Bo,
>
> > > > On Tuesday 13 July 2004 21:09, David Faure wrote:
> > > > > I can't test how the KDE notes program reacts to this note,
> > > >
> > > > so I don't
> > > >
> > > > > know if this is a real problem yet.
> > > >
> > > > Ah but I could test by hacking the XML in my own notes. Seems it
> > > > works ok, I simply see a space where the 
 was. No
> >
> > big deal, but
> >
> > > > it would still be cleaner to avoid the 
 IMHO.
> > >
> > > This is how the XML library encodes multi line text blocks.
> >
> > I think it
> >
> > > is unavoidable.
> >
> > Can't you just replace the strings? Do s,\r\n,\n,?
>
> I am using libxml2. They do the encoding. As I do not now the XML encoding
> rules and standards, I really do not want to mess with this.

AFAIR XML usually is newline agnostic.
If you want to encode line breaks you need to come up with a tag.
(Got to look that up, though, to be sure.)

> Are you sure
> that this does not work just, as is, on Linux? How does libxml2 encode \r\n
> on your system?
>
> Best regards
>
> Joon Radley
> Radley Network Technologies CC
> Cell: +27 (0)83 368 8557
> Fax: +27 (0)12 998 4346
> E-mail: joon at radleys.co.za
>
>
> _______________________________________________
> Kolab-format mailing list
> Kolab-format at kolab.org
> https://kolab.org/mailman/listinfo/kolab-format
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/format/attachments/20040714/f100d69b/attachment.p7s>


More information about the format mailing list