DTD errors

The CSS Validator appears to be incorrectly strict.

On either page below, they will pass the HTML Validator. It is the CSS 
Validator that is causing problems.

I made a quick test you can run that will bring up the error. I uploaded 
two files for you.

One, at http://www.pepino.com/pepinotest.html has XHTML Transitional the 
way it worked last year.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/2000/REC-
xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Try and run it through the CSS validator at 
http://jigsaw.w3.org/css-validator/validator-uri.html

You can use this URL for a shortcut to the test:
http://jigsaw.w3.org/css-
validator/validator?uri=http://www.pepino.com/pepinotest.html

The other, at http://www.pepino.com/pepinotest2.html has XHTML with the 
URL at the end of the DTD spec changed to 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
It will pass the CSS validator.

Here is a shortcut for this test:
http://jigsaw.w3.org/css-
validator/validator?uri=http://www.pepino.com/pepinotest2.html

Why is the Validator giving an error to pages that had been using the 
original XHTML spec?

Thanks

Received on Wednesday, 21 November 2001 17:46:45 UTC