Markus Holländer created FOP-2685:
-------------------------------------
Summary: Exception in AbstractBreaker if
linefeed-treatment=preserve, page break and different layouts for odd/even pages
Key: FOP-2685
URL: https://issues.apache.org/jira/browse/FOP-2685
Project: FOP
Issue Type: Bug
Components: fo/unqualified
Affects Versions: 2.1, 1.1
Environment: VM with SUSE Linux Enterprise Server 12 (64 bit);
jdk1.8.0_60 on production server (FOP 1.1), jdk1.8.0_121 on test server (FOP
2.1)
Reporter: Markus Holländer
Attachments: fail.fo, fop11_exception.log, fop12_exception.log
If there are different page masters for odd and even pages (with different
left/right margins), AND there is an fo:block with
{{linefeed-treatment="preserve"}}, AND a linefeed coincides with a page break
(i.e. in "line 1 \n line 2", line 2 doesn't fit on the same page), I get an
exception and no PDF is produced.
Attached is the smallest .fo file with which I could reproduce the exception,
as well as command line outputs for FOP 1.1 and 2.1.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)