Never use text/xml, that overrides any encoding declaration inside the XML file.

http://ln.hixie.ch/?start=1037398795&count=1
http://www.grauw.nl/blog/entry/489

wunder
==
Lead Engineer, MarkLogic

On Mar 3, 2011, at 7:30 AM, Bernd Fehling wrote:

> Dear list,
> 
> is there any deeper logic behind the fact that XMLResponseWriter
> is sending CONTENT_TYPE_XML_UTF8="application/xml; charset=UTF-8" ?
> 
> I would assume (and also most browser) that for XML Output
> to receive "text/xml" and not "application/xml".
> 
> Or do you want the browser to call and XML-Editor with the result?
> 
> Best regards, Bernd





Reply via email to