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 41076] - StringIndexOutOfBoundsException when extracting text from a Word document.
Date Mon, 26 Mar 2007 17:45:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41076>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41076


eporter@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19768|0                           |1
        is obsolete|                            |




------- Additional Comments From eporter@gmail.com  2007-03-26 10:45 -------
Created an attachment (id=19798)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19798&action=view)
A proposed fix which rewrites the loops

The code gets a List of text runs and a List of text pieces.  The existing code
fails when the start of one text piece is not the same as the end of the
previous piece.  The assumption is made in several places.
My proposed patch rewrites the loop to make the code smaller and simpler.  The
first proposed patch is made obsolete by this patch because the
StringIndexOutOfBoundsException won't happen anymore.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message