> My impression was that JTidy had to make a complete pass over the document > in order to tidy it. This would preclude using it for a SAX (stream-based) parser. > If so, too bad. (Of course, this wouldn't _preclude_ it, just make it extremely inefficient.)
I think it may get more complicated than Assaf listed in his algorithms, but I still think a knowledge of the stack of what tags are currently open is sufficient to fix the HTML. - Tom Palmer
