Content-Type of XMLResponseWriter / QueryResponseWriter

2011-03-03 Thread Bernd Fehling
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

Re: Content-Type of XMLResponseWriter / QueryResponseWriter

2011-03-03 Thread Walter Underwood
Never use text/xml, that overrides any encoding declaration inside the XML file. http://ln.hixie.ch/?start=1037398795count=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

Re: Content-Type of XMLResponseWriter / QueryResponseWriter

2011-03-03 Thread Bernd Fehling
Hi Walter, many thanks! Bernd Am 03.03.2011 17:01, schrieb Walter Underwood: Never use text/xml, that overrides any encoding declaration inside the XML file. http://ln.hixie.ch/?start=1037398795count=1 http://www.grauw.nl/blog/entry/489 wunder == Lead Engineer, MarkLogic On Mar