W3C home > Mailing lists > Public > www-validator@w3.org > September 2009

Re: [VE][64] Add Subject Here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 22 Sep 2009 21:41:14 +0300
Message-ID: <8DD24DC2DFF4472C94E4181D1152C4EF@JukanPC>
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 

Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Tuesday, 22 September 2009 18:42:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:14 UTC