This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6199 - CSS validator fails application/xml Content-Type
Summary: CSS validator fails application/xml Content-Type
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: media type (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-01 11:13 UTC by Aragon Gouveia
Modified: 2011-07-02 20:03 UTC (History)
1 user (show)

See Also:


Attachments
Valid Cascading Style Sheet with single rule: *{display:inline} (19 bytes, text/css;charset=utf-8)
2011-07-02 19:34 UTC, Etan Wexler
Details
Extensible Markup Language document with xml-stylesheet processing instruction and empty root element (84 bytes, application/xml)
2011-07-02 19:44 UTC, Etan Wexler
Details

Description Aragon Gouveia 2008-11-01 11:13:16 UTC
My site uses quite a lot of XML and negotiates whether to use XML+XSLT or XHTML based on the client's Accept header.  W3C's CSS validator'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
Comment 1 Etan Wexler 2011-07-02 19:34:54 UTC
Created attachment 1008 [details]
Valid Cascading Style Sheet with single rule: *{display:inline}
Comment 2 Etan Wexler 2011-07-02 19:44:11 UTC
Created attachment 1009 [details]
Extensible Markup Language document with xml-stylesheet processing instruction and empty root element