Document Type Declaration

message from Craig Brown on 25 Jul 2004
I viewed a site the declared the document "transitional" but when I
attempted to validate it at www.w3c.org I received the response.

"I was not able to extract a character encoding labeling from any of the
valid sources for such information. Without encoding information it is
impossible to reliably validate the document. I'm falling back to the
"UTF-8" encoding and will attempt to perform the validation, but this is
likely to fail for all non-trivial documents."

My question is: Why make the declaration if the document can't be
validated?

Thanks for any insight.
 
Thierry Koblentz replied to Craig Brown on 25 Jul 2004
Was the DTD Declaration valid?

Thierry

Craig Brown wrote:
 
Craig Brown replied to Thierry Koblentz on 25 Jul 2004
I was not able to extract a character encoding labeling from any of the
valid sources for such information. Without encoding information it is
impossible to reliably validate the document. I'm falling back to the
"UTF-8" encoding and will attempt to perform the validation, but this is
likely to fail for all non-trivial documents. Sorry, I am unable to
validate this document because on lines 51, 461 it contained one or more
bytes that I cannot interpret as utf-8 (in other words, the bytes found are
not valid values in the specified Character Encoding). Please check both the
content of the file and the character encoding indication.
 

Archived message: Document Type Declaration (Macromedia Dreamweaver)