Sorry, I should have sent the mail to the list :-(.
-----Ursprüngliche Nachricht-----
Von: Mickautsch, Alfred
Gesendet: Dienstag, 12. Februar 2008 15:15
An: '[EMAIL PROTECTED]'
Betreff: AW: [xml] xmlwriter function naming convention
> -----Ursprüngliche Nachricht-----
> Von: Daniel Veillard [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 12. Februar 2008 13:13
> An: Mickautsch, Alfred
> Cc: [email protected]
> Betreff: Re: [xml] xmlwriter function naming convention
>
>
> yes, Flushing at the end of the EndDocument functions would make sense,
> could you design such a patch ?
>
I attached a patchfile against libxml2 2.6.31, which adds the call to
xmlTextWriterFlush at the end of xmlTextWriterEndDocument.
Servus -- Alfred
--
Alfred Mickautsch
Schuler Business Solutions AG
Karl-Berner-Str. 4
D-72285 Pfalzgrafenweiler
tel: +49 (0)74 45 830-184
fax: +49 (0)74 45 830-349
e-mail: [EMAIL PROTECTED]
--- xmlwriter.c.org 2008-02-12 15:04:21.966432000 +0100
+++ xmlwriter.c 2008-02-12 15:02:40.048413000 +0100
@@ -702,6 +702,9 @@
return -1;
sum += count;
}
+
+ sum += xmlTextWriterFlush(writer);
+
return sum;
}
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml