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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Julien Reichel
> Sent: jeudi, 8. mars 2007 14:10
> To: [email protected]
> 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_v2.patch
Description: xmlreader_v2.patch

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to