W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Re: Error: end of document in prolog

From: Andreas Prilop <Prilop2007@trashmail.net>
Date: Tue, 24 Jul 2007 15:21:18 +0200 (MEST)
To: www-validator@w3.org
cc: Aaron Dalton <aaron@daltons.ca>
Message-ID: <Pine.GSO.4.63.0707241514330.990@s5b004.rrzn.uni-hannover.de>

On Sun, 22 Jul 2007, Aaron Dalton wrote:

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>
> I've done some searching and I'm not seeing my error.
> Can anyone point me in the right direction?

Do not use XHTML 1.0 Transitional!

If you need "Transitional" (for old pages),
then stick with HTML 4 Transitional.

If you want XHTML 1.0 (for new pages),
then write XHTML 1.0 Strict - but only if you understand it.

XHTML 1.0 Transitional is a clueless-indicator. And it leads
often to errors because people mix HTML and XHTML features.

The real difference is not between HTML and XHTML -
the real difference is between "Strict" and "Transitional".

-- 
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell
Received on Tuesday, 24 July 2007 13:22:00 GMT

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