logo       

Small bug in Validator: msg#00108

org.w3c.validator

Subject: Small bug in Validator





Hello,

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 validity
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">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<p>This is a test page. </p>
</body>
</html>
----------

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:
http://validator.w3.org/check?uri=http://maddingue.free.fr/bug.html
http://jigsaw.w3.org/css-
validator/validator?uri=http://maddingue.org/bug.html

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 validator
that I saw that the URI in my DOCTYPE was wrong in most of my pages.

Thanks,

Sébastien Aperghis-Tramoni
-- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ]




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise