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

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 UTC