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





------- Additional Comments From [EMAIL PROTECTED]  2007-02-19 08:09 -------
Also interesting to note: if one encloses the content of the second block in 
testcase 
'block_hyphenation_linefeed-preserve.xml' with an fo:inline, then 
LineLayoutManager.findHyphenationPoints() throws a NullPointerException (line 
1486), due to an 
Update being added earlier which has null for an inlineLM...

Looking closer, I'm wondering whether the strange effect of duplication may 
have something to with:
a) a block containing preserved linefeeds generates a Paragraph of Paragraphs
b) findOptimalBreakingPoints() is called in a loop that iterates /backwards/ 
over the sub-paragraphs, 
while 
c) findHyphenationPoints() iterates /forwards/ over each sub-paragraph 
individually

This opens up the possibility that findHyphenationPoints() adds Updates to the 
updateList with indices 
that refer to the last sub-paragraph, and those indices are later, in the outer 
loop, interpreted as 
positions in the first sub-paragraph --or worse, in the super-paragraph?

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

Reply via email to