W3C home > Mailing lists > Public > www-validator@w3.org > February 2006

Re: [VE][64] External text is invalid

From: David Dorward <david@dorward.me.uk>
Date: Thu, 16 Feb 2006 14:46:33 +0000
To: ian <ian@ph-creative.com>
Cc: www-validator@w3.org
Message-ID: <20060216144633.GB9491@us-lot.org>

On Thu, Feb 16, 2006 at 12:35:45PM -0000, ian wrote:
>    Validating http://www.diversitydividend.com/news.asp
>    Error [64]: "document type does not allow element X here"

Yes, frameset documents expect a <frameset> rather than a <body>.

For normal HTML documents written today, HTML 4.01 Strict is the
appropriate choice.

Your document uses a lot of legacy markup (mostly presentational) so
it probably fits transitional better (removing the legacy markup is
preferable to using Transitional).


You also seem to be abusing tables for layout:


And your alt text is really odd. 


>    [ The News.asp page displays text that contains invalid characters.  The
>    code that displays the characters is a call to a class and the text is
>    stored in the database.  The text is uploaded by external administrators. 
>    Not sure if it is to do with the DOCTYPE or not.

That issue isn't. Your HTTP header fails to mention what character
encoding is used by the document, you have a poorman's <meta> tag to
do its job instead. That meta tag claims you are using ISO-8859-1 for
the character encoding, but the data looks more like windows-1252.

(I read the mailing list, please direct responses there and do not CC
me. Thanks)

David Dorward                                      http://dorward.me.uk
Received on Thursday, 16 February 2006 14:46:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:47 UTC