cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Knodt <>
Subject Re: TidySerializer
Date Mon, 02 Jun 2003 15:48:21 GMT
On Monday 02 June 2003 17:05, Arjé Cahn wrote:
AC> When should one use the TidySerializer?
AC> ---------------------------------------
AC> 1) As a fix for the "the namespace problem"
AC> 2) When human-readable HTML output is needed
AC> 3) To validate the output to a dtd

It doesn't really validate against the DTD, but it corrects errors or doesn't 
put out invalid HTML, except when you find an error in jtidy.

AC> I *am* a little worried about the fact that the JTidy community has died;
I'm too. I think the idea for the program is good. Problem is, that it needs 
cleanup, as far as I read the sourceforge page.
In my serializer, I serialize with xalan and read the stream in via jtidy, 
because neither SAX nor DOM support is avalaible or working.
Best would be, if xalan people would adopt the project and integrate it in 
xalan as HTML serializer. Default could be to conform to the specs, or what 
they think is conform. I never asked, as I don't think they would do it and I 
haven't the time for it.

AC> For example; we're running CHTML pages (i-mode) live from Cocoon, and
AC> those damn i-mode browsers won't take code that isn't aligned to the left
AC> (aargh?!).

You mean, indented code? You can configure jtidy not to do it. And you have to 
give him the DTD to use. CHTML has it's own more or less official as far as 
my googling showed.


BTW: You could provide CHTML rendering for the cocoon sample.

Domain in provider transition, hope for smoothness. Planed date is 1.7.2003.

View raw message