Are you sure you're .flush() or .close() -ing your stream when done? If you don't, there's a chance that not all the output will be written to disk.
Alternately, if you don't need to process the output in the stream,
just use new StreamResult("foo.out") instead.
- Shane
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
