Beta: Doctype override and valid documents

Hi,

I tried to validate http://www.websitedev.de/xhtml/xhtml1/ as ISO-8859-1
encoded XHTML 1.0 Transitional document. The validator responds

  * DOCTYPE Override in effect! Any DOCTYPE Declaration in the document
    has been suppressed and the DOCTYPE for «XHTML 1.0 Transitional»
    inserted instead. The document will not be Valid until you alter the
    source file to reflect this new DOCTYPE. 

  The document located at <URL:http://www.websitedev.de/xhtml/xhtml1/>
  would validate as XHTML 1.0 Strict if you updated it to match the
  Options used.

  If you use CSS in your document, you should also check it for validity
  using the W3C CSS Validation Service. 

  If you would like to create a link to this page (i.e., this validation
  result) to make it easier to re-validate this page in the future or to
  allow others to validate your page, the URI is
  http://validator.w3.org:8001/check?uri=http://www.websitedev.de/xhtml/xhtml1/
  (or you can just add the current page to your bookmarks or hotlist.)

The "would validate" note is very well hidden after the super obtrusive
"Tip of the day" and the "doctype override" note. The result is the most
important information on the page, but you have hard times to find it at
all. Second, yes, the page would validate es XHTML 1.0 Strict, but who
cares about that? It has a XHTML 1.0 Transitional document type
declaration and I selected "override" to XHTML 1.0 Transitional, so
what? Last but not least, I don't need to update the page, it validates.
If selected document type and the document type given in the document
match, the validator should not shout at me.

regards.

Received on Wednesday, 23 October 2002 07:17:28 UTC