W3C home > Mailing lists > Public > www-validator@w3.org > May 2007

Re: Transitional validation Problem

From: Drake Wilson <drake@begriffli.ch>
Date: Tue, 15 May 2007 13:06:23 -0500
To: www-validator@w3.org
Message-ID: <20070515180623.GA7608@drache.begriffli.ch>
(Resending to list since I made a mistake on the first Cc; sorry for
resultant screwiness.)

Quoth Hamish <gno@gavinoliver.co.uk>, on 2007-05-15 10:53:01 -0700:
>   The URL is http://osiris.sunderland.ac.uk/~ca8gol/updateExternal.php
> 
> I have several pages that have the same error message, all use php to return
> the results of a query  on  a MySQL db.

Did you actually look at the source of the output page?

"""
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Up Date External Examiners</title>
<link href="Course_Buttons/UniStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center><h1>&nbsp;</h1>
<h1>Up Date External Examiners </h1>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Connection</title>

</head>

<body>
</body>
</html>
"""

Notice how you have another DOCTYPE declaration and entire <html />
inside the original <body /> tag.  Don't do that.

   ---> Drake Wilson

Received on Tuesday, 15 May 2007 18:04:27 GMT

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