simple doc does not validate

this simple demo does not validate in w3.org or wdg 
but somehow parses ok .... should it not throw errors

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Nesting Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-
1" />
</head><body>
<ul>
<h2>title</h2>
<li>list item</li>
</ul>
</body></html>
--
john russell ve3ll@rac.ca [those are L's as in LLAMA]
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Nesting Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head><body>
<ul>
<h2>title</h2>
<li>list item</li>
</ul>
</body></html>

Received on Tuesday, 19 August 2003 03:23:25 UTC