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:

      An XHTML page whose CSS does NOT validate:

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

David Rand.
Received on Sunday, 12 February 2006 07:46:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:41 UTC