<?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>152</bug_id>
          
          <creation_ts>2003-02-27 16:32:35 +0000</creation_ts>
          <short_desc>Upload/Textarea with support for HTML/XHTML documents</short_desc>
          <delta_ts>2009-01-21 21:57:29 +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>upload file</component>
          <version>CSS Validator</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Le Hegaret">plh</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>karl</cc>
    
    <cc>ot</cc>
    
    <cc>peter</cc>
          
          <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>370</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2003-02-27 16:32:35 +0000</bug_when>
    <thetext>It is not possible to upload an HTML document, only CSS documents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2465</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2004-10-06 01:37:02 +0000</bug_when>
    <thetext>In the meantime, the upload interface now notes that *only CSS* files are accepted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15876</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-07-19 09:09:54 +0000</bug_when>
    <thetext>Related discussion: http://lists.w3.org/Archives/Public/www-validator-css/2007Jul/0016.html
«should be easy to add. The hard part is to determine if we html or css was submitted. In Unicorn, we do that using a dropdown list of mimetypes, but here it should be possible to guess the type from the content»

When using upload, we would also have a media type. So the absence of media type would only be a proble for &quot;direct input&quot;. There, heuristics to guess whether the content is CSS or HTML might be a tad tricky (think of the cases where people put html-style comments in CSS stylesheets...) but feasible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16799</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-26 09:11:03 +0000</bug_when>
    <thetext>interface still says &quot;CSS files only&quot;, to be changed.

FAQ should be updated to mention that in these modes, import not followed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19424</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-03-12 16:26:44 +0000</bug_when>
    <thetext>Latest version of the validator, released today, now accepts HTML or CSS via direct input.

Still doesn&apos;t seem to work with file upload, I&apos;m leaving this bug open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19425</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-03-12 16:33:56 +0000</bug_when>
    <thetext>Actually it *does* seem to work with file upload, although there is a different bug when uploading a file with a media type unknown to the validator.

Will close this and open a separate bug for the upload crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23217</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-01-21 21:29:40 +0000</bug_when>
    <thetext>*** Bug 6070 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23219</commentid>
    <comment_count>7</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-01-21 21:36:18 +0000</bug_when>
    <thetext>Colour me utterly confused here. As of today:

* both the production (jigsaw.w3.org) and dev (qa-dev.w3.org) instances seem to
be recognizing html when sent through file upload 
* the file upload interface still says &quot;CSS files only&quot;
* in direct input mode, the validator stumbles on the first html-ism and stops
* there is no UI to tell the validator &quot;this is html&quot;

I think it is fair to assume:
* HTML is now supported on &quot;by URI&quot; and &quot;File Upload&quot; modes
* not supported (yet) in &quot;Direct Input&quot; mode

This calls for reopening of this RFE.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23220</commentid>
    <comment_count>8</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-01-21 21:41:38 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/www-validator-cvs/2009Jan/0173.html
removes the &quot;CSS files Only&quot; note from the &quot;file upload&quot; UI</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23222</commentid>
    <comment_count>9</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-01-21 21:57:29 +0000</bug_when>
    <thetext>*** Bug 5662 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>