W3C home > Mailing lists > Public > www-validator@w3.org > January 2008

Re: XML declaration

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Wed, 23 Jan 2008 21:41:18 +0100
To: www-validator@w3.org
Message-ID: <fn88ol$4ee$1@ger.gmane.org>

Maria Grazia Lucci wrote:
 
> Help! What should I do?

Try to delete the five empty lines before the <?xml 

> Line 6, Column 5: XML Parsing Error: XML declaration
> allowed only at the start of the document.

If you can't get rid of the empty lines copy and paste
your complete document into the "validate by direct
input" form, and then remove the 5 empty lines there.

Testing this I get a "valid" for your document... :-)

 Frank
Received on Wednesday, 23 January 2008 20:41:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT