<?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>6199</bug_id>
          
          <creation_ts>2008-11-01 11:13:16 +0000</creation_ts>
          <short_desc>CSS validator fails application/xml Content-Type</short_desc>
          <delta_ts>2011-07-02 20:03:50 +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>media type</component>
          <version>CSS Validator</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2FBugs%2FPublic%2Fattachment.cgi%3Fid%3D1009&amp;profile=none&amp;usermedium=all&amp;warning=no&amp;vextwarning=false</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="Aragon Gouveia">aragon</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ewexler</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>22321</commentid>
    <comment_count>0</comment_count>
    <who name="Aragon Gouveia">aragon</who>
    <bug_when>2008-11-01 11:13:16 +0000</bug_when>
    <thetext>My site uses quite a lot of XML and negotiates whether to use XML+XSLT or XHTML based on the client&apos;s Accept header.  W3C&apos;s CSS validator&apos;s Accept header is:

Accept: text/css,text/html,text/xml,application/xhtml+xml,application/xml,image/svg+xml,*/*;q=0.1

From which my page selects application/xml and outputs that accordingly:

HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8

But the validator throws an error:

I/O Error: Unknown mime type : application/xml;charset=utf-8


Thanks,
Aragon</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50602</commentid>
    <comment_count>1</comment_count>
      <attachid>1008</attachid>
    <who name="Etan Wexler">ewexler</who>
    <bug_when>2011-07-02 19:34:54 +0000</bug_when>
    <thetext>Created attachment 1008
Valid Cascading Style Sheet with single rule: *{display:inline}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50604</commentid>
    <comment_count>2</comment_count>
      <attachid>1009</attachid>
    <who name="Etan Wexler">ewexler</who>
    <bug_when>2011-07-02 19:44:11 +0000</bug_when>
    <thetext>Created attachment 1009
Extensible Markup Language document with xml-stylesheet processing instruction and empty root element</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1008</attachid>
            <date>2011-07-02 19:34:54 +0000</date>
            <delta_ts>2011-07-02 19:34:54 +0000</delta_ts>
            <desc>Valid Cascading Style Sheet with single rule: *{display:inline}</desc>
            <filename>minimal.css</filename>
            <type>text/css;charset=utf-8</type>
            <size>19</size>
            <attacher name="Etan Wexler">ewexler</attacher>
            
              <data encoding="base64">KntkaXNwbGF5OmlubGluZX0NCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1009</attachid>
            <date>2011-07-02 19:44:11 +0000</date>
            <delta_ts>2011-07-02 19:44:11 +0000</delta_ts>
            <desc>Extensible Markup Language document with xml-stylesheet processing instruction and empty root element</desc>
            <filename>xml-stylesheet.xml</filename>
            <type>application/xml</type>
            <size>84</size>
            <attacher name="Etan Wexler">ewexler</attacher>
            
              <data encoding="base64">PD94bWwtc3R5bGVzaGVldCBocmVmPSJodHRwOi8vd3d3LnczLm9yZy9CdWdzL1B1YmxpYy9hdHRh
Y2htZW50LmNnaT9pZD0xMDA4Ij8+PGQvPg0K
</data>

          </attachment>
      

    </bug>

</bugzilla>