> -----Original Message----- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] <snip /> > Far better would be if we could somehow get a handle to the streams the > redirection extension writes to. Place a buffer in between, and we're set. > Much faster, no need for a workaround of any kind. > But here, I think, is the point Glen was concerned about: the XSL > processor > might suddenly decide to drop the reference to that stream (upon finishing > one file) and close it... how would we make sure the stream stays opened > until FOP is finished with it? >
The related class in Xalan: org.apache.xalan.lib.Redirect It contains a HashMap, m_outputStreams, which is, unfortunately, protected, so can't be queried from outside the xalan.lib package... Bummer! Cheers, Andreas