https://issues.apache.org/bugzilla/show_bug.cgi?id=46960

           Summary: Minor bug with fo:marker
           Product: Fop
           Version: 1.0dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P4
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: bowditch_ch...@hotmail.com


Created an attachment (id=23438)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23438)
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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to