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 
removed.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:38 GMT