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

Re: XML declaration

From: Martin Campos <vmartin.campos@gmail.com>
Date: Wed, 23 Jan 2008 21:20:06 +0100
Message-ID: <5852ddb30801231220i680c4fa4se76ea317f2bfa7b9@mail.gmail.com>
To: "Maria Grazia Lucci" <luccig@unisi.it>
Cc: www-validator@w3.org
Hello.

The first line of the html code, must be <? Xml version = "1.0" encoding =
"iso-8859-2?">.

The error indicates that the page can't begin with white spaces because your
first line is the 6th.

Regards.

2008/1/23, Maria Grazia Lucci <luccig@unisi.it>:
>
>
> Help! What should I do?
>
>
>
> Validating http://www.asb.unisi.it/arbib/biblioteca.php
> Error [xmlwf]: ""
>
> Validation Output: 1 Error
>    Line 6, Column 5: XML Parsing Error: XML declaration allowed only at
> the
> start of the document.
> <? Xml version = "1.0" encoding = "iso-8859-2?">
>
> Thank you.
>
> Maria Grazia Lucci
> Biblioteca della Fac. di Lettere e Filosofia di Arezzo Italia
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.5/1228 - Release Date:
> 16/01/2008 9.01
>
>
>
>
>


-- 
Salu2:
MARTIN un valenciano desde Madrid (ESPAŅA)
Received on Thursday, 24 January 2008 12:53:14 GMT

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