Basically i have a magento collection list which i am converting to xml output.
When i try to validate the XML/page output if fails because the first line is just white space, and for XML to be valid in needs to be the start of the document.
Line 1 : line 2 :<!DOCTYPE html> line 3 :<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> line 4 :<head> line 5 :<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> line 6 :<title>Seak Ecommerce Group</title> etc...
Further validation (HTML)(page source) of general pages etc this seems to be magento wide and also includes the last line as well.
Has anyone else seen this and/or know how this can be fixed