Version: git checkout 15f2a481ef742bc6f0ded66ca854d29ae6f712ac
(Using KDE 4.5.5)
OS: Kubuntu 10.10
Test data is in ms word 2003 format .Open the same document in calligra words.
Test data Link:http://delhihighcourt.nic.in/rec04042008.doc
Document should be opened.
“Could not the open the file, Reason:Invalid file format” error dialog box is coming.
There's still some fine tuning needed. I'm using kofficetests and like 200 real life test files and there are still false positives. I need more, More, MORE test files. :)
Git commit 77ed36f95fe3ea60bb62368a00db461b66d088a5 by Matus Uzak.
Committed on 16/05/2011 at 11:07.
Pushed by uzak into branch 'master'.
libmso: Relaxed storage validation in POLE.
There were false positives reported for the invalid file format classification.
Word8 documents to be specific. Of course those do not follow the Compound
File Binary File Format.
M +4 -4 filters/libmso/pole.cpp
M +4 -1 filters/words/msword-odf/msdoc.h
M +2 -1 filters/words/msword-odf/wv2/src/parserfactory.cpp
Verified in 5afdc09e3e61f1ea303115a8a35d412a710cb52f.