That's the first time I head someone mention that. Why do you think this is necessary? The example uses a try..finally calling out.close() in the finally section. This normally causes an implicit flush() (at least for all implementations of OutputStream I know and which do actually implement flush()). So I see no need for an explicit flush(). Could you please state which OutputStream implementation are used in your code?
On 12.03.2007 22:52:30 Jeff Vannest wrote: > Will someone add "out.flush()" to the embedding example on the FOP > website...for example, at > http://xmlgraphics.apache.org/fop/0.93/embedding.html? > > It seems a shame that everyone embedding FOP learns to flush() by trial and > error. > > Thanks! > Jeff Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
