W3C home > Mailing lists > Public > www-validator@w3.org > January 2003

Bug in www-validator?

From: Aki Tossavainen <cmouse@quakenet.org>
Date: Wed, 22 Jan 2003 13:10:20 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.LNX.4.40.0301221307090.18545-100000@youzen.projectb2.net>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <title>Operator accounting</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <link rel="stylesheet" href="/style.css">
</head>

<body>
<div>
<table style="width:100%">
<tr>
<td align=center><a href="index.php?page=main">[main]</a>&nbsp;&nbsp;<a
href="index.php?page=counter">[Handle counters]</a>&nbsp;&nbsp;<a
href="index.php?page=acc">[Handle accounting cases]</a>&nbsp;&nbsp;<a
href="index.php?page=batch">[Handle batches]</a>&nbsp;&nbsp;<a
href="index.php?page=usercontrol">[users]</a>&nbsp;&nbsp;<a
href="index.php?page=help/index">[manual]</a>&nbsp; <a
href="index.php?page=logout">[log&nbsp;out]</a></td>
</tr>
</table>
<hr>
</div>
<h3>Accounting case handling</h3>
<br>
<br>
<h4>

<UL>
<li><a href="index.php?page=processacc">Process accounting case</a></li>
<li><a href="index.php?page=addcase">Add list file</a></li>
<li><a href="index.php?page=editcase">Edit list files</a></li>
<li><a href="index.php?page=delcase">Remove list files</a></li>
</UL>
</h4>
</body>
</html>




This is the page source code. This is the NAG your validator gives me:

This page is not Valid HTML 4.01 Transitional!

Below are the results of attempting to parse this document with an SGML
parser.

   1.Line 24, column 3: document type does not allow element "UL" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

       <UL>
          ^

Now in case I am not completely mistaking, those tags are not required to
be used with lists. Is this bug in DTD or the validator? Please respond.

Aki Tossavainen
cmouse@quakenet.org
Received on Wednesday, 22 January 2003 06:34:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT