Actions
Bug #2180
closedProblem to transform to a DOMResult
Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2014-10-13
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
When the transform is done to an empty DOMResult, it is not updated with the result:
Result out = new DOMResult();
transformer.transform(source, out);
// here out.getNode() is null
because in the transform() method:
} else if (outputTarget instanceof DOMResult) {
Node root = ((DOMResult) outputTarget).getNode();
// here root is null so the given outputTarget is never updated
destination = new DOMDestination(root);
Regards
Related issues
Updated by Michael Kay about 10 years ago
- Status changed from New to Duplicate
- Found in version changed from 9.6.0-1 to 9.6
Duplicate of 2164
Please register to edit this issue
Actions