Summary: | Infinite loop in footnotes | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Johan Pretorius <johanpretorius> |
Component: | Assignee: | fop-dev | |
Status: | NEW --- | ||
Severity: | normal | CC: | wraezor |
Priority: | P3 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: |
Slightly simplified file showing the problem
Another simple example of bug |
Description
Johan Pretorius
2009-06-25 04:44:22 UTC
Created attachment 23887 [details]
Slightly simplified file showing the problem
Created attachment 23907 [details]
Another simple example of bug
PDF renders successfully if final footnote code is omitted.
I was able to create a pdf from my fo file. Problem was in one footnote's footnote-body tag I have a fo:block element. It has an attribute margin-top="5px". Now to create a pdf I have to either remove some text in the block or remove the attribute. I only needed to fix one footnote. (I commented out every footnote and then tried to create a pdf until it failed. Only one footnote had this problem.) Note: bug 48063 probably is a duplicate of this bug. Check that sample files attached to that bug run fine after this one has been fixed. This bug does not seem to be related to bug 48063. The test files attached to bug 47424 show an infinite loop in org.apache.fop.layoutmgr.PageBreakingAlgorithm.getFootnoteSplit(int, int, int, int, boolean), whereas the test file attached to bug 48063 encounters an infinite loop in org.apache.fop.layoutmgr.PageBreakingAlgorithm.createFootnotePages(KnuthPageNode). resetting severity from major to normal pending further review resetting P1 open bugs to P3 pending further review |