GNOME Bugzilla – Bug 346118
DOC file not correctly parsed
Last modified: 2006-09-06 20:41:54 UTC
This started as AbiWord bug 10317 (http://bugzilla.abisource.com/show_bug.cgi?id=10317). Reporter was 'simsong@acm.org'. --- I have some word files that were generated by FrameMaker 6.0 on Windows. AbiWord won't open them. Microsoft Word 2003 opens them just fine. wvText generates the error "could not convert into HTML." wvWare generates this interesting error: % wvWare /home/simsong/arch/books/2001.WSCP/appb.doc (process:79817): libgsf:msole-WARNING **: There is are not supposed to be any blocks in the small block allocation table, yet there is a link to some. Ignoring it. (process:79817): libgsf:msole-WARNING **: A non directory stream with children ? [simsong@s dfrws] % I have put a copy of this document at http://www.simson.net/appb.doc
Created attachment 68127 [details] Sample document
Confirmed: ./gsf list appb.doc (gsf:2937): libgsf:msole-WARNING **: There is are not supposed to be any blocks in the small block allocation table, yet there is a link to some. Ignoring it. (gsf:2937): libgsf:msole-WARNING **: A non directory stream with children ? appb.doc: f 0 *root* (I have no idea yet if the file is valid, though.)
The first warning seems harmless and we can silence it in this case. sbat_start is 0xffffffff (BAT_MAGIC_UNUSED) where we expect 0xfffffffe (BAT_MAGIC_END_OF_CHAIN).
The root directory was marked as a file! I have changed libgsf to treat it as a directory always (and warn if claimed otherwise), but I'd say FrameMaker ought to be fixed. Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.