- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Tue, 22 Sep 2009 21:41:14 +0300
- To: "steven pappas" <orca20002@comcast.net>, <www-validator@w3.org>
steven pappas wrote: > Validating http://conservativecrossfire.com/?page_id=24 > Error [64]: "document type does not allow element X here" Read first the first error message: "no document type declaration; will parse without validation" The rest is confusing, since the validator does something like validation, but what you need to do is to make sure that the document starts with a document type declaration. In practice, the document starts with an HTML fragment that has apparently been emitted by some server-side (PHP) code. Fix the errors in PHP and try again. Actually, the document passes validation if that HTML fragment is removed. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 22 September 2009 18:42:07 UTC