Issue 104759 - OOo fails opening the attached broken XLSB document
Summary: OOo fails opening the attached broken XLSB document
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.1.1
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 14:31 UTC by alexanderkozlenko
Modified: 2017-05-20 11:42 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Test file (4.18 KB, application/vnd.ms-excel)
2009-09-04 08:02 UTC, alexanderkozlenko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description alexanderkozlenko 2009-09-03 14:31:30 UTC
OpenOffice Calc doesn't support XLSB files at all. I opened the file, but 
nothing change in my Calc window. Last DevBuild doesn't support this format too.

Full reference link: http://msdn.microsoft.com/en-us/library/cc313133.aspx
I added support for this format in my application at one month standalone work.
Comment 1 Stefan Weigel 2009-09-03 18:43:40 UTC
Worksforme.

For example I could open
http://sc.openoffice.org/testdocs/drawing_import_biff12_12.xlsb in OOo 3.1.1 as
well as in DEV300m56 without problems.

Please, attach an example, that you can not open.
Comment 2 alexanderkozlenko 2009-09-04 08:02:54 UTC
Created attachment 64539 [details]
Test file
Comment 3 alexanderkozlenko 2009-09-04 08:05:36 UTC
Sample file attached. It composed by application and successfully opened by 
Excel 2007 and Excel 2010.
Comment 4 Stefan Weigel 2009-09-04 09:02:26 UTC
Confirming problems opening the bugdoc attached by alexanderkozlenko.

Testing with OOo 3.1.1 (OOO310m19) on Win2000:
After selecting records.xlsb for opening, a dialog "Filter selection" shows up.
After selecting "Microsoft Excel 2007 Binary", Calc shows a "general I/O error".

Testing with OOo-dev 3.2.0 (DEV300m56) on Win2000:
After selecting records.xlsb for opening, a dialog "Filter selection" shows up.
After selecting "Microsoft Excel 2007 Binary", nothing happens.

@alexanderkozlenko: Are you saying the bugdoc was created by your own
application and not by MS Excel? This could be relevant for further
investigation by an OOo developer!
Comment 5 alexanderkozlenko 2009-09-04 09:19:58 UTC
Attached document was created by our application according to MS-XLSB 
specification, NOT in Microsoft Excel. I have not any error on it in Microsoft 
Excel 2007/2010. And I have not any exception message by OOo 3.1.1 on Vista 
Business x86 EN.

Can you provide some information about which part of file confuse OOo. May be 
we have bad logic which can't occurs in Excel.
Comment 6 Stefan Weigel 2009-09-04 09:40:43 UTC
alexanderkozlenko, 

for your question you may want to subscribe and post a message to the
dev@sc.openoffice.org mailing list
(http://sc.openoffice.org/servlets/ProjectMailingListList) and try to come in
contact with a Calc developer.

If it turns out, that the problem is no bug in OOo, please return to this issue
in Issue Tracker in order to close this issue.

Thanks.
Comment 7 alexanderkozlenko 2009-09-04 09:52:34 UTC
Ok. Now I don't see any problem in file structure, but if it will be found I 
post result here.
Comment 8 alexanderkozlenko 2009-09-28 00:07:19 UTC
Hi. Can you provide some roadmap or plans about solving this problem? Thanks.
Comment 9 Stefan Weigel 2009-09-28 07:37:30 UTC
@alexanderkozlenko: As stated, for further investigation you could try to
discuss your problem on the mailing list.
Comment 10 oc 2009-09-28 08:17:52 UTC
Hi Daniel, please have a look
Comment 11 daniel.rentz 2009-09-28 09:46:41 UTC
Will have a look. Seems that already the file type detection fails on this file.
Comment 12 daniel.rentz 2009-09-28 10:31:40 UTC
dr->mav: after fixing issue 105325 (open the OOXML packages with format type
"ZipFormat") this file still does not open. Please have a look if there is a
problem with this specific file. Fails at the same place as mentioned in the
other issue, on creation of an instance of "com.sun.star.packages.comp.ZipPackage"
(storage/source/xstor/xstorage.cxx#525)
Comment 13 alexanderkozlenko 2009-09-28 10:47:01 UTC
If it helps, we used Microsoft.Deployment.Compression.Zip (Deployment Tools 
Foundation part) from Microsoft WiX prject (wix.sourceforge.net) to generate 
ZIP file.
Comment 14 alexanderkozlenko 2009-11-02 14:48:22 UTC
Hi to all. Have you any good news about this issue?
Comment 15 alexanderkozlenko 2009-11-25 14:10:04 UTC
Hi. Any roadmap for this problem?
Comment 16 mikhail.voytenko 2009-12-08 09:02:40 UTC
mav->alexanderkozlenko: The "Target milestone" field contains the release, for
which the fix is planned. In this case it is OOo3.3. 
Comment 17 mikhail.voytenko 2010-04-08 12:05:26 UTC
The file contains backslashes '\' as path-segments separator, that is actually
forbidden by PKZIP specification. The PKZIP specification is used by OOXML
format specification as far as I know, thus formally speaking this document
looks to be no valid OOXML document. Adjusting the Summary accordingly. Please
correct me if I have misunderstood something.

Since it is an alien format, and the concurrent products look to accept such a
broken file, it looks to make sense to accept it as well.
Comment 18 mikhail.voytenko 2010-04-08 12:26:42 UTC
Fixed in cws fwk138.
Comment 19 mikhail.voytenko 2010-04-16 13:52:10 UTC
mav->oc: Please verify the issue.
Comment 20 michael.ruess 2010-05-18 11:47:36 UTC
Verified in CWS fwk138.