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