Hi,
http://jade.dautelle.com/
Java Addition to Default Environment
http://jade.dautelle.com/api/jade/xml/sax/RealtimeParser.html
Anyone seen this? Don't know if it could be used in Cocoon. From a license point of view its LGPL.
quote:
public final class RealtimeParser extends java.lang.Object
This class provides a real-time SAX2-like XML parser; this parser is /extremely/ fast and *does not create temporary objects* (no garbage generated and no GC interruption).
This parser is light (less than 15Kbytes compressed) and maintains a very small memory footprint while parsing (e.g. less than 16Kbytes while parsing 32Mbytes files). Typical applications include SOAP messaging, embedded/realtime systems, web servers (possibly thousands instances running concurrently), etc.
/quote
Cheers,
Jon