poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17208] - [PATCH] WordDocument Problem: createListTables - Negative Array Size
Date Tue, 15 Apr 2003 14:47:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17208>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17208

[PATCH] WordDocument Problem: createListTables - Negative Array Size





------- Additional Comments From bob.otterberg@finetix.com  2003-04-15 14:47 -------
There's a problem with the data files used by the test case.  The files 
committed to CVS don't match the files posted in the zip.  Each of the files 
committed to CVS is slightly larger than the corresponding file in the zip.

filename         size in zip     size in CVS
--------------------------------------------
empty.doc        19456           19462
simple.doc       19456           19463
simple-list.doc  19456           19467
simple-table.doc 19456           19467

Notice that the file sizes in the zip are a multiple of 512.  The file sizes in 
CVS are not a multiple of 512.  This presents all sorts of problems with the
RawDataBlock class in org.apache.poi.poifs.storage.
Word 2000 is unable to open any of the files committed to CVS.  No problem with 
the files in the zip.

I downloaded the zip again and verified it.  The files in it are definitely 
OK.  I think you'll need to re-extract the files and re-commit them to CVS.

Mime
View raw message