Rolf Kulemann wrote:

On Sun, 2003-12-14 at 00:39, Joerg Heinicke wrote:

On 14.12.2003 00:12, Rolf Kulemann wrote:


Mmmh, but Epoz sends wellformed xhtml. The point is Epoz sends text/html
as content-type, which is not handled by StreamGenerator(, yet).
I don't want to tidy anything, at the mom.

My question is:

Why does the StreamGenerator not support text/html??

I guess this was the simplest way to enforce well-formedness. But the test on a specific content type is no that good IMO. Why not simply let the parser complain about well-formedness errors?


Good point. Look at the fact that it accepts text/plain :) so why not
text/html or what ever?

it seems to me that two fixes should be made: Epoz should send "text/xhtml" and the generic StreamGenerator should be able to check well-formedness instead just checking the mime-type, maybe by default, but which could be configured to be turned off because of possible performance issues.


Michi







--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
[EMAIL PROTECTED]                        [EMAIL PROTECTED]




Reply via email to