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... :-)

Received on Wednesday, 23 January 2008 20:41:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:06 UTC