cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Kulemann <m...@rolf-kulemann.com>
Subject Re: StreamGenerator doesn't accept text/html
Date Sat, 13 Dec 2003 18:53:04 GMT
On Sat, 2003-12-13 at 19:04, Stefano Mazzocchi wrote:
> 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.

Sorry, of course.

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

Depends on the loaded markup to edit. If I load clean XHTML Epoz seems
to add only valid xhtml.

> 
> > If so, can anybody give
> > me a hint how to generate XML out of Epoz's PUT request?
> 
> depends on the above question.

I'm curious :)



-- 
Rolf Kulemann

The soul would have no rainbow had the eyes no tears.


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


Mime
View raw message