DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-08-29 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-08-29 08:34 ---
Created an attachment (id=2865)
Unicode support for sheet name, format records and print titles of namerecord

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-29 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-29 19:13 ---
Created an attachment (id=2519)
The bug is still alive. Here is my thought and suggestions on it.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-29 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-29 19:14 ---
The problem is still alive after the patch was back.
In the attach the maker of the BUG and two examples.
As I see, it is not the size problem, and not Unicode problem,
as Glen maked this problem was before.

My assumption and suggestion on this error are below.
What do you think about it?


My assumption of this error is here:
For some reasons we have to make the workbook to be at least 4096 bytes
but if we have such workbook we fill the end of it with zeros (many zeros)

It is not good:
if the length( all zero records ) % 4 = 1
e.g.: any zero record would be readed as  4 bytes at once ( 2 - id and 2 - 
size ).
And the last 1 byte will be readed WRONG ( the id must be 2 bytes )

The suggestion:
So we should better to check if the sid is zero and not to read more data
The zero sid shows us that rest of the stream data is a fake to make workbook 
certain size.
( As in the sample HSSFEventFactory.java attached )

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-29 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-29 19:15 ---
The attach is a zip file.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-28 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-28 11:41 ---
Just a thought...  I noticed the HSSFWorkbook class (line 531) check's if the
serialized size is  4096 and sets it equal to 4096 if it is.  Could this be the
problem and why is it done?

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-28 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-28 14:13 ---
That may be where the 0s are coming from but that is correct behavior.  The
Workbook must be at least 4096.  (Long boring reason if you'd like to hear it
let me know).  However the fact that HSSF is reading into this is usually a
result of being off by some bytes in calculated size.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-28 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-28 22:28 ---
I've confirmed the last set of patches for unicode stuff caused this I'll back
that out and post a note to the author to check this code.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-28 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-29 00:01 ---
Andy, I really dont understand that at all.  How could the last set of changes
have cuased this?  I have confirmed that this exists in 1.5.0 and 1.5.1.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-28 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-29 00:21 ---
okay there were two sets of problems.  I was having trouble reading files
outputted by POI in biffviewer (from the head).  backing out the unicode patches
fixed that.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-26 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-27 01:49 ---
FYI... I've looked at the bound sheet record changes and they appear to be okay
as far as I can tell.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-25 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-25 19:42 ---
Created an attachment (id=2490)
This is the dump of the bad (formed by HSSF) and good (opened and saved by Excel). 
Good and bad from the view of the event API. %)

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 11010] - POI failed to read just created empty Excel file with Unicode sheet name

2002-07-25 Thread bugzilla

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=11010.
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=11010

POI failed to read just created empty Excel file with Unicode sheet name





--- Additional Comments From [EMAIL PROTECTED]  2002-07-25 19:45 ---
I have maid some dump, but still do not have any idea whay this happens. It 
seems that the content is correct in both cases, but many extra zero records in 
one case are suitable for getting them 2 bytes (sid) by 2 bytes (size). In 
another they ends on the first byte of supposed sid word. %(

What do you think about it. Could you explain what are these zero records mean?

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]