This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4 - Doctype override and valid documents
Summary: Doctype override and valid documents
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.0b1
Hardware: All All
: P2 normal
Target Milestone: 0.7.0
Assignee: Terje Bless
QA Contact:
Depends on: 46 47
  Show dependency treegraph
Reported: 2002-10-24 18:37 UTC by Terje Bless
Modified: 2005-02-03 17:35 UTC (History)
1 user (show)

See Also:


Description Terje Bless 2002-10-24 18:37:36 UTC
Reported by Björn Höhrmann <>:

I tried to validate 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:>
  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
  (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.
Comment 1 Terje Bless 2002-10-27 09:14:10 UTC
Splitting into three bugs as there are three issues here. Leaving this with
depends on Bug #46, Bug #47, and Bug #48, as a tracking bug.
Comment 2 Terje Bless 2002-12-03 01:59:01 UTC
Closing tracking bug. See Bug #48 for progress.