Actions
Bug #2180
closed![Author: David Fonquernie](https://www.gravatar.com/avatar/398d3b7b758c01151a85ea808433807f?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Problem 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