Index: class-simplepie.php
===================================================================
--- class-simplepie.php	(revision 33249)
+++ class-simplepie.php	(working copy)
@@ -1602,7 +1602,8 @@
 			$locate = null;
 		}
 
-		$this->raw_data = $file->body;
+		// whitespace before XML resistance
+		$this->raw_data = trim($file->body);
 
 		$headers = $file->headers;
 		$sniffer = $this->registry->create('Content_Type_Sniffer', array(&$file));
@@ -3116,4 +3117,4 @@
 		}
 	}
 }
-endif;
\ No newline at end of file
+endif;
