RE: [xml] bug in libxml-1.8.10

Date view Thread view Subject view Author view

From: Jordan Henderson (jhenderson@daynt1.daas.dla.mil)
Date: Thu Sep 07 2000 - 11:33:29 EDT


Can anyone point me to the justification for making white space significant in
XML?

When I heard about this, I couldn't hardly believe it. I know this is going to
cause a
million niggling problems like this one.

> -----Original Message-----
> From: Daniel Veillard [mailto:Daniel.Veillard@w3.org]
> Sent: Thursday, September 07, 2000 11:07 AM
> To: xml@rpmfind.net
> Cc: marcus.lankenau@socon.de
> Subject: Re: [xml] bug in libxml-1.8.10
>
>
>
> On Thu, Sep 07, 2000 at 02:19:07PM +0200, Marcus Lankenau wrote:
> >
> > Hi!
> >
> >
> > This is not realy a bug, but annoying. We are using libxml
> with win32 and have content with
> > linefeeds. These linefeeds are often corrupted since libxml
> is reading files as binaries
> >
> > input = _open (filename, O_RDONLY | _O_BINARY);
> >
> > and saves files as ascii:
> >
> > output = fopen(filename, "w");
> >
> > I changed this (tree.c:4598) to
> >
> > output = fopen(filename, "wb");
>
> Okay, I propagated a fix in the CVS base to this effect.
> Note that libxml2 I/O support would have allowed to easily
> (ie. without
> changing libxml itself) install a workaround for this kind of problems
> check the example in the dedicated page:
> http://xmlsoft.org/xmlio.html#Example
>
> Daniel
>
> --
> Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks :
> Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML
> libxml WWW
> Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome
> rpm2html rpmfind
> http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe
> ----
> Message from the list xml@rpmfind.net
> Archived at : http://xmlsoft.org/messages/
> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
>

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 11:43:25 EDT