[Catalyst] XML MIME types

Ash Berlin ash_cpan at firemirror.com
Tue Sep 25 18:09:12 GMT 2007


A. Pagaltzis wrote:
> * Javier E. Perez P. <templeofdvst at gmail.com> [2007-09-23 10:20]:
>> i already change the http header content_type to text/xml
> 
> Don’t use `text/xml`, it is broken for numerous esoteric reasons,
> mostly to do with encodings. The easiest completely correct thing
> you can do is to use `application/xml` without a charset parameter
> in the HTTP header, making sure you specify the document encoding
> in the XML preamble instead.
> 
> Regards,

Since its XUL and this is Firefox only, thats okay. But as a general
point, ISTR application/xml is hideously broken with IE - depends if
that is a problem to your application or not.





More information about the Catalyst mailing list