<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>3645</bug_id>
          
          <creation_ts>2006-08-31 23:00:55 +0000</creation_ts>
          <short_desc>My CSS won&apos;t validate since it is saying my XML is not valid.</short_desc>
          <delta_ts>2006-09-01 00:30:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 2.0</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.ajaxswimming.ca</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Francis Pelland">fp115</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11347</commentid>
    <comment_count>0</comment_count>
    <who name="Francis Pelland">fp115</who>
    <bug_when>2006-08-31 23:00:55 +0000</bug_when>
    <thetext>I have done XHTML validaty several times and it is perfect.  Now when I do a CSS check, it does not work and say:

Target: http://www.ajaxswimming.ca/index.php

Please, validate your XML document first!

Line 337

Column 83

Element type &quot;td&quot; must be followed by either attribute specifications, &quot;&gt;&quot; or &quot;/&gt;&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11348</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-09-01 00:30:55 +0000</bug_when>
    <thetext>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

&lt;td style=&quot;background:url(/templates/Default/images/mtdbgbot.gif)&quot;class=&quot;slink&quot; align=&quot;right&quot;&gt; 

Note the lack of space between &quot; and class.

Conclusion: avoid user agent sniffing as much as possible. It wasted your time (and mine). :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>