[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] Minor bug in xmlreader.c



Same patch as before, but produced under Linux, and tested with the
regression tests.

Julien 

> -----Original Message-----
> From: xml-bounces gnome org [mailto:xml-bounces gnome org] On 
> Behalf Of Julien Reichel
> Sent: jeudi, 8. mars 2007 15:55
> To: xml gnome org
> Subject: Re: [xml] Minor bug in xmlreader.c
> 
> Hi,
> 
> I think that my previous patch was actually quite incomplete...
> 
> I tried to find all the place that should be modified so that 
> the state and the mode have the correct value both in case of 
> success and in case of error.
> 
> Let me know if this was the correct way to do it, and if not 
> what I could improve in the patch
> 
> Julien
> 
> > -----Original Message-----
> > From: xml-bounces gnome org [mailto:xml-bounces gnome org] 
> On Behalf 
> > Of Julien Reichel
> > Sent: jeudi, 8. mars 2007 14:10
> > To: xml gnome org
> > Subject: [xml] Minor bug in xmlreader.c
> > 
> > 
> > I think I might have found a minor bug in xmlreader.c
> > 
> > When reaching the end of a file, reader->mode  is not correct. This 
> > patch leave
> > reader->mode=XML_TEXTREADER_MODE_EOF and set reader->state to
> > XML_TEXTREADER_DONE
> > 
> > Julien
> > 
> > 
> > 
> 

Attachment: xmlreader_linux.patch
Description: xmlreader_linux.patch



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]