- From: Michael Adams <linux_mike@paradise.net.nz>
- Date: Sun, 06 Jun 2010 15:50:47 +1200
- To: www-validator@w3.org
On Sunday 06 June 2010 12:28, Michael Adams wrote: > 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. > Apologies - wrong standard quoted... seems the prologue is also called a XML Declaration in the XHTML standard. Here: http://www.w3.org/TR/2002/REC-xhtml1-20020801/#docconf And now i cannot find any reference to "whitespace before DTD".
Received on Sunday, 6 June 2010 04:07:24 UTC