- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Fri, 9 Nov 2007 21:04:12 +0200
- To: <lecotegougdelaforce@free.fr>
- Cc: <www-validator@w3.org>
olivier Thereaux wrote: > On Nov 7, 2007, at 14:08 , Goulven Guillard wrote: >> So, here it is : when validating a strict html 4.01 webpage with the >> validator "doctype" field set to "autodetect", the validation works >> fine. However, when trying to validate the same webpage with this >> field >> set to "HTML 4.01 Strict", you get a "doctype overwrite" issue > > I don't think there is any issue. I think there is: the report says that HTML 4.01 Strict was overridden by HTML 4.01 Strict and incorrectly claims that the document is not valid ("the document will not be Valid until..."). > This is the expected and documented > behavior when you use doctype override: It is not intuitively expectable, no matter how documented it is. I can see two ways to proceed: a) Modify the documentation to say that the DOCTYPE _may_ have been overriden and that the document _might_ not be valid until... b) Change the code to check whether the document type specified in the DOCTYPE matches the one selected from the menu, and suppress the warning and related information when they match. Jukka K. Korpela ("Yucca") http://www.cs.tut.fi/~jkorpela/
Received on Friday, 9 November 2007 19:02:08 UTC