W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2001

Re: Porblems with the validator and XHTML

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 11 May 2001 08:46:56 -0400
Message-ID: <3AFBDF40.CFEF26CE@w3.org>
To: Raphael Giromini <raph@giromini.org>
Cc: www-validator-css@w3.org
Raphael Giromini wrote:
> 
> Hello,
> 
> I try to validate http://www.usenet-fr.net/ and i did for the XHTML. See:
> http://validator.w3.org/check/referer?uri=http%3A%2F%2Fwww.usenet-fr.net%2F
> 
> But when I try to validate the CSS, I get this page:
> http://jigsaw.w3.org/css-validator/validator?uri=http://www.usenet-fr.net/
> 
> Who tells me to "Validate the XML document first". Where is the problem?
> What must I do ? Become conform to XHTML 1.1 ?

Add the following rule at the beginning of your XML file:
<?xml version='1.0' encoding='iso-8859-1'?>

Philippe
Received on Friday, 11 May 2001 08:47:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:13:58 GMT