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.
Great, that did the trick alright...I can re-load without the read-only flag if I call both closeInput and closeOutput when I am finished working the stream passed in as part of the MediaDescriptor.

Will there be any nasty unforeseen side affects to doing this?

Thanks for your help!

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to