Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5
-
None
-
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.