W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2006

[Bug 3645] My CSS won't validate since it is saying my XML is not valid.

From: <bugzilla@wiggum.w3.org>
Date: Fri, 01 Sep 2006 00:30:55 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1GIwvv-0005xw-Ml@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3645


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from ot@w3.org  2006-09-01 00:30 -------
Apparently, your code does some user agent sniffing, and returns different
pages to different user agents. 

When requesting the page with User-Agent: Jigsaw/2.2.0
W3C_CSS_Validator_JFouffa/2.0 (the identifier of the CSS validator), The page I
get has the following markup at line 337

<td style="background:url(/templates/Default/images/mtdbgbot.gif)"class="slink"
align="right"> 

Note the lack of space between " and class.

Conclusion: avoid user agent sniffing as much as possible. It wasted your time
(and mine). :)
Received on Friday, 1 September 2006 00:31:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:54 GMT