cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: JSP pages and xml
Date Thu, 25 Mar 2004 18:13:44 GMT
On 25.03.2004 15:08, Garrick Dasbach wrote:

> Hi,
> Currently we are using JSP pages and the JSPGenerator to produce the XML 
> necessary to start each of our pipelines.  However, we have noticed that 
> if we request the XML directly, such as through a view, the XML appears 
> in our browser as mime-type text/html, even though we are using the xml 
> serializer.  If we specify the content-type in the JSP page as text/xml, 
> and request the XML directly, then it appears as XML in our browser, 
> however if we then attempt to transform that XML into HTML with the rest 
> of our pipeline, the output to the browser is still XML, even though we 
> are using the html serializer.
> Any Ideas?

That's what I would call a bug. The Cocoon serializer does not set the 
content type after the JSP has set it. Can you file the bug at bugzilla?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message