You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/03/30 20:50:46 UTC

DO NOT REPLY [Bug 41999] New: - Unassigned code points cause ArrayIndexOutOfBoundsException in LineBreakUtils

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

           Summary: Unassigned code points cause
                    ArrayIndexOutOfBoundsException in LineBreakUtils
           Product: Fop
           Version: all
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: devel@thanlwinsoft.org


Documents that contain proposed new code points to unicode, such as those listed
at http://www.unicode.org/alloc/Pipeline.html have a LineBreakProperty of zero
as returned by LineBreakUtils.getLineBreakProperty(c). This then causes an index
out of bounds exception in LineBreakUtils.getLineBreakPairProperty() when built
from trunk.

One solution might be to use LineBreakUtils.LINE_BREAK_PROPERTY_XX instead of
zero for unassigned code points.

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

DO NOT REPLY [Bug 41999] - Unassigned code points cause ArrayIndexOutOfBoundsException in LineBreakUtils

Posted by bu...@apache.org.
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=41999>.
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=41999





------- Additional Comments From devel@thanlwinsoft.org  2007-03-30 11:54 -------
Created an attachment (id=19851)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19851&action=view)
unassigned-linebreak-property.patch

a patch that uses LineBreakUtils.LINE_BREAK_PROPERTY_XX when the line break
property class is zero to avoid the index out of bounds exception.

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