XML documents do not have to have an XML declaration. However, if an XML document does have an XML declaration, then that declaration must be the first thing in the document. It must not be preceded by any comments, whitespace, processing instructions, and so forth. The reason is that an XML parser uses the first five characters (
This is wrong for W3C validatator.
CVS Doc section
Discussion/participation
http://tikiwiki.org/tiki-index_raw.php?page=XhtmlCssValidate#comments