Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • External issue ID:
      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.

        Attachments

        1. test-markers.fo
          1.0 kB
          Chris Bowditch

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              cbowditch Chris Bowditch
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: