Mathias Bauer wrote: > Martin Gallwey wrote: > >>>Sorry, I was wrong, of course you can't get rid of the proxy, but >>>closing the stream should help. Try a xInputStream.closeInput() after >>>you finished loading. If it works I have to discuss with my colleagues >>>if this might have any side effects. :-) >>> >>> >> That was one of the first things I tried! However - no joy! I can call >> closeInput 10 times in a row, and it doesn't help, nor does it throw an >> exception! > > OK, I'm running out of ideas. ;-) > We will have a look on the issues you have created.
Wait a moment ... I think I've got it. closeInput() is not enough because OOo opened the file for read/write access and so without also calling closeOutput() or close() on the corresponding XStream(!) the file will not be released. Usually this should happen before reloading - I will check why it doesn't work here. So after rethinking I would say: don't call closeInput() by yourself, that should be up to the caller of your filter. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
