- From: Dave@sw <david@shareworld.co.uk>
- Date: Thu, 29 Apr 2010 16:57:12 +0100
- To: <www-validator@w3.org>
- Message-ID: <E1O7W7I-0004u3-FI@lisa.w3.org>
I have been trying to validate my html and I am getting the following error: Validation Output: 1 Error Line 1, Column 1: end of document in prolog <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ? This error may appear when the validator receives an empty document. Please make sure that the document you are uploading is not empty, and report any discrepancy. The site in question is: http://www.shareworld.co.uk <http://www.shareworld.co.uk/> It normally validates with no errors at all. As a test, I have also taken a sample xhtml page from the W3c site, the contents of which is as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>simple document</title> </head> <body> <p>a simple paragraph</p> </body> </html> I have uploaded this file here: http://www.shareworld.co.uk/validator_test.html This also fails validation, can you tell me if I am doing something wrong, or if there is a problem on your site? Many thanks David Silvester david@shareworld.co.uk +44(0)7515924011
Received on Thursday, 29 April 2010 16:30:14 UTC