diff -r --unified o/libxml2-2.7.2/xmlIO.c libxml2-2.7.2/xmlIO.c
--- o/libxml2-2.7.2/xmlIO.c	2008-09-01 03:18:07.000000000 -0400
+++ libxml2-2.7.2/xmlIO.c	2009-02-21 08:23:15.000000000 -0500
Index: libxml2-2.7.2/xmlIO.c
@@ -2278,6 +2278,7 @@
 	return(NULL);
     }
 
+    ret->buffer->alloc = XML_BUFFER_ALLOC_DOUBLEIT;
     ret->encoder = encoder;
     if (encoder != NULL) {
         ret->conv = xmlBufferCreateSize(4000);
