The validator at w3.org

I ran the following through the validator...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>
  test page
  </title>
  </head>
  <body>
  <! -- comment -- >
  <! -- comment -- -- comment 2 -- -- comment3 -->
  <!--comment-- text --comment 2-- text --comment3-->
  <!--comment--->
  <!--comment-- oops>
  <!--comment-- --comment 2--        --comment3--    >
  <!--comment----comment 2----comment3--    >
  <!-- comment-->
  <!--comment-->
  <!--comment--   >
  <P>test page
  </P>
  </body>
</html>

In testing the legal comments, I fully expected lines 10-14 
to throw errors and 15-19 to be legal.

It did not throw an error on line 11!?!

--
--* Jon A. Lambert - TychoMUD        Email:jlsysinc@alltel.net    *--
--* Mud Server Developer's Page <http://www.alltel.net/~jlsysinc> *--
--* If I had known it was harmless, I would have killed it myself.*--
 

Received on Sunday, 11 August 2002 08:36:16 UTC