Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1550

fo:instream-foreign-object in fo:marker does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • fo/unqualified
    • None
    • Operating System: All
      Platform: All
    • 45306

    Description

      See the disabled testcase added here:
      http://svn.apache.org/viewvc?rev=672617&view=rev

      In current FOP Trunk, the test throws a NPE, due to AbstractRetrieveMarker not correctly cloning the foreign object. cloneSingleNode() apparently only deals with FObj and FOText, but XMLObj descends directly from FONode, so does not survive...

      Changing XMLObj to extend FObj, instead of FONode, partly fixes the issue. It clones the root of the document, but does not yet descend recursively.

      Attachments

        1. ifoInsideMarker.080722.diff
          0.9 kB
          Luca Furini

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            adelmelle@apache.org Andreas L. Delmelle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: