Forum Moderators: open
Rather than me making all the mistakes myself while coding up my own SAX-based (streaming) XML compressor to remove redundant whitespace and comments from XHTML, is there already a freely-available Java Servlet Filter out there to do it?
I want the XML declaration and DOCTYPE left intact of course...
(I'm not after a GZIP-style compressor: I have one and will be applying it downstream of the thing I am asking for here to get a "double whammy" for those devices that can handle GZIP compressions.)
Rgds
Damon