This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Reported by Björn Höhrmann <derhoermi@gmx.net>: 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. 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.
This can't be done with the current code; we never have the DOCTYPE from the override ad the DOCTYPE found in the document in the same format (FPI vs. Version string vs. a complete DOCTYPE) and neither do we have a mapping table to deal with this. OTOH, sufficient metadata/mapping tables for this is one of the things scheduled for the new config file parser/format. Setting blocker on Bug #43.
Setting target to 0.7.0.
Remove blocker on Bug #4 and adding Bjoern to the CC list.
Won't make it for 0.7.0.
(In reply to comment #4) > Won't make it for 0.7.0. Actually I think we had all the logic ready, albeit scattered in the code. Fixed in CVS.
adding test case URI