Apache OpenOffice (AOO) Bugzilla – Issue 24656
Trying to save a loaded Word97 document in OOo format and the aplication crashes.
Last modified: 2017-05-20 11:25:58 UTC
I have found a document on our system that was created in Word97. I can load it OK in OOo v1.1.1a but as soon as I try to save it in OOo format, OOo crashes. I have tried OOo v1.1 on Linux and v1.1.1a on Win2K and it is the same, ie OOo still crashes. The document opens and saves OK in Word97. I will attach a copy of the document to this report.
Created attachment 12634 [details] The document in question.
Reassigned to MRU
MRU->MIB: open attached file, save as .sxw -> crash
An " com::sun::star::xml::sax::SAXInvalidCharacterException" is throw with the following stack: sax_expatwrap::SAXWriter::characters() + 0x217 C++ cript_get() + 0xa289 SfxScriptLibraryContainer::writeLibraryElement() + 0x223 C++ SfxLibraryContainer_Impl::implStoreLibrary() + 0x57a C++ SfxLibraryContainer_Impl::storeLibraries_Impl() + 0xa40 C++ SfxLibraryContainer_Impl::storeLibrariesToStorage() + 0x7b C++ SfxScriptLibraryContainer::storeLibrariesToStorage() + 0x70 C++ SfxObjectShell::SaveAsOwnFormat() + 0xb8 C++ SfxObjectShell::SaveTo_Impl() + 0x21b C++ The source of this exception is an illegal character contained in the basic code - after removing the orifinal basic code, the document can be saved. Because of this, I suggest to retarget the issue to OOo 2.0
Because of limited resources for OOo1.1.2 we decided to set this task to target OOo2.0. This isn't a general problem with Word97 documents and macros. This document is special and out of this reason it is justifiable to re-target the bug.
accepting.
fixed.
Investigating this bug, it seems to us (AB and me) that the .doc import filter has imported non-Unicode characters, thus it ought to repair/ignore/warn about such characters when loading the document, so the user is informed about the corrupted document. The basic library export as well as the sax writer rely on valid XML.
as agreed to you, Martin.
Because of a shortage of resources we're not able to promise to fix this issue for OOo 2.0
mmaher->flr: Yours I think
.
assigning to hbrinkm
Reset assigne to the default "issues@openoffice.apache.org".