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
Please register to edit this issue
Actions