W3C home > Mailing lists > Public > www-validator@w3.org > September 2002

Small bug in Validator

From: Sébastien Aperghis-Tramoni <maddingue@free.fr>
Date: Sat, 28 Sep 2002 06:43:41 -0400 (EDT)
To: www-validator@w3.org
Message-Id: <2478FC9C-D2CF-11D6-A515-000502F3279F@free.fr>


While checking my pages with the HTML and the CSS validator, I found
what I think is an error in the HTML validator: it does not check the 
of the DTD URI regarding the public identifier given in the DOCTYPE.

Here is a quick example :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "machin">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type"  content="text/html; 
charset=iso-8859-1" />
<p>This is a test page. </p>

As you can see, the URI doesn't correspond to the public identifier,
but if you check this page with the HTML validator, it consider it to
be valid, whereas the CSS validator yells.
I've put the file online if you want to check:

I think this should be corrected because I was always validating my pages
with the HTML validator, but that's only when I checked with the CSS 
that I saw that the URI in my DOCTYPE was wrong in most of my pages.


Sébastien Aperghis-Tramoni
  -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ]
Received on Saturday, 28 September 2002 22:45:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:29 UTC