XHTML: Important Problem

To whom it may concern,
	I am just beginning to learn XHTML and I was trying out your
validation service today.  To my dismay, my carefully-crafted XHTML was
not validating.  Looking into the matter further, I discovered a startling
fact - the minimal XHTML file listed in the W3C XHTML 1.0 Specification
DOES NOT VALIDATE.  The file is listed below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
  </body>
</html>

When I removed the first line, which specifies the XML version and 
encoding, it validated just fine as did the document I had written.  Thus,
the problem seems pretty clear.  

	Please forgive me if I have made some grevious error.  Thanks.

-Luke Flesch

Received on Sunday, 24 September 2000 14:37:45 UTC