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

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

http://www.w3.org/QA/2002/04/valid-dtd-list.html

You also seem to be abusing tables for layout:

http://www.allmyfaqs.net/faq.pl?Tableless_layouts

And your alt text is really odd. 

http://htmlhelp.com/feature/art3.htm

>    [ 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