On 13 Dec 2003, at 02:19, 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 ?

HTML is *not* a subset of XML. XHTML is.


</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.

Is Epoz saving XHTML or HTML?


If so, can anybody give
me a hint how to generate XML out of Epoz's PUT request?

depends on the above question.


--
Stefano.



Reply via email to