No style sheet found when html tag has namespace attribute

I have a problem with a web page which validates correctly
as XHTML 1.0 transitional and whose CSS validates correctly
when I aim the validator at the CSS file directly. The
problem occurs only when the <html> tag contains a namespace,
like this:

      <html xmlns="http://www.w3.org/1999/xhtml">

If the namespace attribute is removed, then CSS validation
work fine with that XHTML page. Is this a bug in the validator,
or am I doing something wrong?

Here are the URLs two simple web pages:

      An XHTML page whose CSS validates:
      http://atheisme.ca/test_ok.html

      An XHTML page whose CSS does NOT validate:
      http://atheisme.ca/test_bad.html

The only difference between the two (other than the name) is
the xmlns attribute on the html tag.

Thanks,
David Rand.

Received on Sunday, 12 February 2006 07:46:12 UTC