Fop
  1. Fop
  2. FOP-1064

The collapsing border model on an fo:table is currently not supported by FOP

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: fo/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC
    • External issue ID:
      36934

      Description

      We committed to test latest FOP from SVN, but actually every FO file we want
      to render ends up in the following message, and no PDF output is created:

      "The collapsing border model on an fo:table is currently not supported by FOP"

      So it seems the lack of this 'feature' blocks us from beeing any further help to
      the project.

        Activity

        Hide
        Jeremias Maerki added a comment -

        Which project? Yours or ours?

        FOP 0.20.5 doesn't fully support the collapsing border model, either. It just
        pretends it does. The borders are simply painted on top of each other. FOP Trunk
        doesn't do any such ugly hacks right now. Apart from the warning message you
        got, what did the output look like? Unusable?

        Does any committer have a good overview of what exactly works on tables in
        0.20.5? Currently, the compliance page suggests that 0.20.5 work much better
        than FOP Trunk WRT table support which is probably not the case.

        Show
        Jeremias Maerki added a comment - Which project? Yours or ours? FOP 0.20.5 doesn't fully support the collapsing border model, either. It just pretends it does. The borders are simply painted on top of each other. FOP Trunk doesn't do any such ugly hacks right now. Apart from the warning message you got, what did the output look like? Unusable? Does any committer have a good overview of what exactly works on tables in 0.20.5? Currently, the compliance page suggests that 0.20.5 work much better than FOP Trunk WRT table support which is probably not the case.
        Hide
        Chris Bowditch added a comment -

        The warning message appears because the default value according to XSL-FO spec
        is border-collapse="collapse" If this property is not specified on fo:table
        then FOP currently struggles to render the document, since the collapsing
        model is currently implemented. The solution is simply to specify border-
        collapse="separate" on every occurrence of fo:table. FOP 1.0 then renders the
        document fine.

        I agree with Jeremias' assesment that table support in 0.20.5 is no better
        than in FOP 1.0

        Show
        Chris Bowditch added a comment - The warning message appears because the default value according to XSL-FO spec is border-collapse="collapse" If this property is not specified on fo:table then FOP currently struggles to render the document, since the collapsing model is currently implemented. The solution is simply to specify border- collapse="separate" on every occurrence of fo:table. FOP 1.0 then renders the document fine. I agree with Jeremias' assesment that table support in 0.20.5 is no better than in FOP 1.0
        Hide
        Vincent Hennebert added a comment -

        Fixed in Trunk, rev. 530727

        Show
        Vincent Hennebert added a comment - Fixed in Trunk, rev. 530727
        Hide
        Markus KARG added a comment -

        (In reply to comment #3)
        > Fixed in Trunk, rev. 530727

        Thank you for fixing this issue. So we can go on with testing.

        Show
        Markus KARG added a comment - (In reply to comment #3) > Fixed in Trunk, rev. 530727 Thank you for fixing this issue. So we can go on with testing.
        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:
            Markus KARG
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development