Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
46960
Description
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.