W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2002

CSS Validation "error"

From: <Tuttle_James@emc.com>
Date: Fri, 4 Oct 2002 13:12:56 -0400
Message-ID: <93F527C91A6ED411AFE10050040665D00384D63C@corpusmx1.us.dg.com>
To: www-validator-css@w3.org
When I use the CSS Validator (fle upload -
http://jigsaw.w3.org/css-validator/validator-upload.html
<http://jigsaw.w3.org/css-validator/validator-upload.html> ) and upload the
attached file (also available at
http://tuttle.homelinux.net:8000/index.html), I get the following error:
 

 Line: 18 Context : DOCTYPE HTML PUBLIC 

Parse Error - "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd" --> <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>
<head> <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"> <!-- meta http-equiv="Content-Type" content="text/html;
charset=utf-8" --> <!-- meta http-equiv="Content-Type" content="text/html;
charset=us-ascii" --> <meta name="REVISIT-AFTER" content="60 days"> <meta
name="robots" content="All"> <meta name="Copyright" content="Jim Tuttle">
<meta name="Authors" content="Jim Tuttle"> <meta name="Identifier-URL"
content="http://tuttle.homelinux.net:8000"> <meta name="keywords"
content="Tuttle, music, movies, Macintosh, multimedia"> <meta
name="description" content="links for music, movies, Macintosh, and more">
<title>hyperT</title> <script type="text/javascript"> resizeTo(700,620); 

Any many more.

If I use the Validate-by-URI method like this:

http://jigsaw.w3.org/css-validator/validator?uri=http://tuttle.homelinux.net
:8000/index.html
<http://jigsaw.w3.org/css-validator/validator?uri=http://tuttle.homelinux.ne
t:8000/index.html&charset=%28detect+automatically%29>
&charset=%28detect+automatically%29

I get validated.

How come I get errors with the upload version that the URI version doesn't
detect.

I have a sneaking suspicion that it may have to do with the funny newlines
in that file that get mangled in the File Upload process (something with
which I'm familiar).  (My newlines are "funny" 'cause the file gets edited
by a Mac and a Sparc, and I never know which newline/carriage-return is
being saved in the file.)  That said, I also think that newlines are
optional in HTML, so shouldn't any Validator ignore them?

 

Thanks,

    Jim




Received on Friday, 4 October 2002 13:20:04 GMT

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