- From: Michael Adams <linux_mike@paradise.net.nz>
- Date: Sun, 06 Jun 2010 12:28:06 +1200
- To: www-validator@w3.org
On Saturday 05 June 2010 05:23, James Tiebout wrote: > God morning > > I have been working on a website this morning using the markup > validation service by upload from my computer. There seems to be some > kind of issue, as pages that were marked as valid strict html come > back with the following error messages. Then I get them to revalidate > by restarting firefox and work on new pages and then the same thing > happens with old and new pages not validating. It is checking my page > as uft-f , 4.01 Transitional through the detect automatically > settings and I am using strict html as follows: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> > <html xmlns="http://www.w3.org/1999/xhtml"> > This error is likely if you have an empty line of text above your XHTML. The only thing that should appear before the doctype is the optional xml prologue. It would be much easier to affirm the error if you gave a link to the webpage - or a minimal test showing the error. http://www.w3.org/TR/2000/REC-xml-20001006#sec-prolog-dtd HTH -- Michael
Received on Sunday, 6 June 2010 00:45:25 UTC