Bug 46960 - Minor bug with fo:marker
Summary: Minor bug with fo:marker
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P4 minor
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 06:16 UTC by Chris Bowditch
Modified: 2012-04-01 06:42 UTC (History)
0 users



Attachments
Sample to demonstrate the bug (1016 bytes, application/octet-stream)
2009-04-03 06:16 UTC, Chris Bowditch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bowditch 2009-04-03 06:16:40 UTC
Created attachment 23438 [details]
Sample to demonstrate the bug

When a document sets and clears markers in order to display headers on some pages and not others, an empty marker element fails to clear the marker. This is more easily explained with an example. So I have attached the example FO. In this example there are 3 pages, with the marker retrieved to the header. The marker is cleared on the first page, set on page 2 and cleared on page 3. So I only expect the Continued text to appear in the header of page but it also appears on page 3 as well.

Changing <fo:marker marker-class-name="Continued"/> to

<fo:marker marker-class-name="Continued"><fo:block></fo:block></fo:marker>

solves the problem, but this is a bug that ought to be fixed.
Comment 1 Chris Bowditch 2009-04-03 06:18:11 UTC
Just noticed a mistake in the description the number 2 is missing from after the word page when describing where the Continued text is expected to appear.
Comment 2 Andreas L. Delmelle 2009-06-05 01:43:42 UTC
Fixed with r781944.

Thanks for reporting!
Comment 3 Glenn Adams 2012-04-01 06:42:34 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed