Note by Toltec

Bo Thorsen bo at klaralvdalens-datakonsult.se
Thu Jul 15 09:01:12 CEST 2004


On Wednesday 14 July 2004 20:03, David Faure wrote:
> On Wednesday 14 July 2004 12:48, Bernhard Reiter wrote:
> > On Wednesday 14 July 2004 09:02, Joon Radley wrote:
> > > Hi Bo,
> > >
> > > > 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.
>
> The rule seems to be that it's ok to generate XML with \r\n, it's the
> parser that is supposed to remove the \r.
>
> http://www.w3.org/TR/REC-xml/#sec-line-ends
>
> So I withdraw my request, I think the 
 is fine (if the spaces that
> appear in kde are a problem we'll have to add a pre- or post-processing
> step...)

So, is this a bug in the Qt XML code? Or do we have to do a search and 
replace on the text ourselves?

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Senior Software Engineer   |   5290 Marslev
     Klarälvdalens Datakonsult  |   Denmark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/format/attachments/20040715/bcb4bc65/attachment.sig>


More information about the format mailing list