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

Re: [VE][257] Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 6 Jan 2005 20:53:34 +0200 (EET)
To: Brad M <braddm@gmail.com>
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0501062049330.10393@korppi.cs.tut.fi>

On Thu, 6 Jan 2005, Brad M wrote:

> I am not sure what this line is in my html, and the validator is
> saying it is wrong.

There's a syntax error in it.

> Can I just delete it, or do I need it.

You should fix it. It's useful if your document's encoding is really what
the tag says. But it's not needed, and the appropriate way is to use HTTP
headers for the purpose.

> My HTML editor placed it in my code.

Get your money back then. :-)

> Line 8, column 17: an attribute value specification must be an
> attribute value literal unless SHORTTAG YES is specified
>
> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1" />

The error message is admittedly confusing, but the error is simple:
the value "Content-Type" must be in quotation marks, if you are using
XHTML, as you apparently are.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 6 January 2005 18:54:06 GMT

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