text/xml is Broken - The RSS Blog
Really Simple Syndication
Copyright 2003-4 Randy Charles Morin
The RSS Blog
<< Previous Main Next >>
Thu, 03 Mar 2005 01:49:52 GMT
text/xml is Broken

Anne van Kesteren: So I thought I read RFC 3023 carefully, but apparently I did not. [cut] you can only change the character encoding of an XML document with a text/xml Content-Type using the optional charset parameter.

Architecture of WWW: In general, a representation provider SHOULD NOT assign Internet media types beginning with "text/" to XML representations. [cut] In general, a representation provider SHOULD NOT specify the character encoding for XML data in protocol headers since the data is self-describing. 

Randy: The evidence is clear. If you respond Content-Type: text/xml, then you respond incorrectly. Your RSS feed should respond Content-Type: application/rss+xml. Thanks to Anne and Phil for putting some mustard behind this issue of late.

Reader Comments Subscribe
Type "339":
Top Articles
  1. Unblock MySpace
  2. MySpace
  3. FaceParty, the British MySpace
  4. del.icio.us and sex.com
  5. Blocking Facebook and MySpace
  1. Review of RSS Readers
  2. MySpace Layouts
  3. RSS Stock Ticker
  4. RSS Gets an Enema
  5. Google Reader rejects del.icio.us