W3C home > Mailing lists > Public > www-validator-css@w3.org > September 2006

File upload gives many bogus CSS parse errors, but URI is fine

From: Paul Kimelman <paul@nikoosha.com>
Date: Sun, 17 Sep 2006 11:19:19 -0700
Message-ID: <450D91A7.9090209@nikoosha.com>
To: www-validator-css@w3.org

I have a file which I upload and the validator gives parse errors, 
starting with "body". If I upload to a web site, it validates perfectly. 
The file is:

If I upload it, I get many errors

URI : file://localhost/css_example.html

     * Line: 8

       Parse error - Unrecognized : <!DOCTYPE html PUBLIC "-//W3C//DTD 
XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> 
<title>Murwood eNews</title> <meta http-equiv="Content-Type" 
content="text/html; charset=ISO-8859-1" /> <style type="text/css"> body 
{margin: 0px 0px 0px 0px; text-align: center;}
     * Line: 98

       Parse error - Unrecognized : </style> </head><body> <div 
class="main"> <div id="banner"> <div id="top"> <span id="btextl">Murwood 
PTA<br/>eNews</span> <span id="btextr">Sunday<br/>Sep 16</span> </div> 
<div id="topmid"></div> <div id="darkbelow"></div> <div 
id="graybelow"></div> <div id="whitebelow"></div> </div> <div 
class="intro">In this eNews: (<a id="key">key <span class="pop">Key to 
icons:<br/> <span class="clkr">
     * Line: 98

       Parse error - Unrecognized :
     * Line: 99

       Parse error - Unrecognized :
Paul Kimelman                   Personal email
Home: 925.256.4048              Mobile: 510.882.6495
Received on Sunday, 17 September 2006 18:19:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:42 UTC