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

Re: Transitional validation Problem

From: Hamish <gno@gavinoliver.co.uk>
Date: Tue, 15 May 2007 11:18:44 -0700 (PDT)
Message-ID: <10628229.post@talk.nabble.com>
To: www-validator@w3.org


Thanks for pointing me in the right direction.
You are quite right I hadn't thought of looking at the source output.
The reason that there is a second Doc declaration in the code comes from the
php"include file" which I had not removed the Doc description from the top.

Thanks to all for the input.
Now sorted, will remember not to do that again.
Regards

Hamish



Drake Wilson-3 wrote:
> 
> (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
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Transitional-validation-Problem-tf3757709.html#a10628229
Sent from the w3.org - www-validator mailing list archive at Nabble.com.
Received on Tuesday, 15 May 2007 18:18:48 GMT

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