W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2006

No style sheet found when html tag has namespace attribute

From: David Rand <rand@videotron.ca>
Date: Sat, 11 Feb 2006 13:42:13 -0500
To: www-validator-css@w3.org
Message-id: <43EE3005.1090406@videotron.ca>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:16 GMT