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

[xml] WG: xmlwriter function naming convention



Sorry, I should have sent the mail to the list :-(.



-----Ursprüngliche Nachricht-----
Von: Mickautsch, Alfred 
Gesendet: Dienstag, 12. Februar 2008 15:15
An: 'veillard redhat com'
Betreff: AW: [xml] xmlwriter function naming convention

> -----Ursprüngliche Nachricht-----
> Von: Daniel Veillard [mailto:veillard redhat com]
> Gesendet: Dienstag, 12. Februar 2008 13:13
> An: Mickautsch, Alfred
> Cc: xml gnome org
> 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: alfred mickautsch schuler-ag com
--- 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;
 }
 


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