cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: StreamGenerator doesn't accept text/html
Date Sat, 13 Dec 2003 10:56:16 GMT
Rolf Kulemann wrote:

> Hello List,
> 
> I'm currently integrating the Epoz editor into Lenya.
> This editor sends text/html as content-type in a PUT request when the
> document is being saved. 
> 
> I thought it is a good idea to use the StreamGenerator to generate my
> XML within a xmap. The StreamGenerator complains about a not supported
> content-type.
> 
> <quote>
> 	Do you think it makes sense that the StreamGenerator should 	accept
> text/html since html is a subset of xml ?
> </quote>
> 
> I already made a tiny change to StreamGenerator to support text/html and
> it works fine, but I dunno, if this is a misuse. If so, can anybody give
> me a hint how to generate XML out of Epoz's PUT request?

Daniel's remarks might also be of interest

http://article.gmane.org/gmane.comp.cms.lenya.devel/2071

Michi

> 
> (I use Cocoon 2.1.2)
> 
> Thanks.
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org



Mime
View raw message