Index: xmlsitemap.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/Attic/xmlsitemap.inc,v
retrieving revision 1.1.2.33
diff -u -p -r1.1.2.33 xmlsitemap.inc
--- xmlsitemap.inc	1 Nov 2009 16:11:34 -0000	1.1.2.33
+++ xmlsitemap.inc	15 Dec 2009 19:54:14 -0000
@@ -319,7 +319,7 @@ function xmlsitemap_generate_chunk($hand
   }
 
   // Close the XML file.
-  $status &= (bool) fwrite($handle, '</urlset>');
+  $status &= (bool) fwrite($handle, '</urlset>' . PHP_EOL);
 
   return $status;
 }
