Details

    • Type: Bug 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.

      1. test-markers.fo
        1.0 kB
        Chris Bowditch

        Activity

        Hide
        Chris Bowditch added a comment -

        Attachment test-markers.fo has been added with description: Sample to demonstrate the bug

        Show
        Chris Bowditch added a comment - Attachment test-markers.fo has been added with description: Sample to demonstrate the bug
        Hide
        Chris Bowditch added a comment -

        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.

        Show
        Chris Bowditch added a comment - 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.
        Hide
        Andreas L. Delmelle added a comment -

        Fixed with r781944.

        Thanks for reporting!

        Show
        Andreas L. Delmelle added a comment - Fixed with r781944. Thanks for reporting!
        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

          People

          • Assignee:
            fop-dev
            Reporter:
            Chris Bowditch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development