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

Parse error

From: Kraus, Jeff <Jeff.Kraus@deg.state.wi.us>
Date: Wed, 28 Nov 2001 08:37:40 -0600
Message-ID: <28EDA1B41BC1D411BDEA00D0B71DBF84531F00@doamail04.doa.state.wi.us>
To: "'www-validator-css@w3.org'" <www-validator-css@w3.org>
I have been getting a parse error on the HTML below even though it
validates. Only the second style is recognized when changing the order of
the styles.


Errors
URI : <file://localhost/C:\ascii.htm>
*	Line: 5 
		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><meta
http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>Test of
styles and tables</title> <style type="text/css"> p {font-size:xx-large;
text-indent:10%} 
Valid CSS informations
*	ul { 
*	list-style : disc; 
		} 



<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html;
charset=utf-8"/><title>Test of  styles and tables</title>
<style type="text/css">
p {font-size:xx-large; text-indent:10%} 
ul {list-style:outside}
</style>
</head>
<body><p>This text uses only ASCII.<br/>It does not even use any control
characters</p><ul><li>first list item. How does this style handle multiple
lines in the  list?</li><li>second list
item</li></ul><table><tr><td>name</td><td>quote</td></tr><tr><td
colspan="2">comment about the quote
above</td></tr><tr><td>name2</td><td>another
quote</td></tr></table></body></html>


Jeffrey Kraus-yao, MCSD
IS Systems Development Services Senior
Department of Electronic Government
State of Wisconsin
608-267-3827
Received on Wednesday, 28 November 2001 09:38:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:11 UTC