Thank you, I've worked around the problem by dynamically setting the mime-type within the source JSP's.
Wouter -----Oorspronkelijk bericht----- Van: Joerg Heinicke [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 juni 2004 23:31 Aan: [EMAIL PROTECTED] Onderwerp: Re: XML serializer returns wrong mime-type with JSP Generator On 23.06.2004 18:00, Wouter Westendorp wrote: > This works fine, except for the returned mime-type. Instead of returning > the 'text/xml' mime-type (as expected by the XML serializer that does > have the 'mime-type="text/xml"' attribute), Cocoon returns a 'text/html' > mime-type. > > I think this 'text/html' mime-type comes from the JSP Generator, > although I'm not for sure. Does anybody know how I can overwrite the > returned mime-type within Cocoon? Unfortunately this is a known bug in Cocoon's JSP handling: http://issues.apache.org/bugzilla/show_bug.cgi?id=27957. But I saw you already voted for the bug, so I guess you found it yourself :) Just added the answer for the archive. Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
