Project

Profile

Help

Bug #2164

closed

Empty DOMResult provided to transform method produces null result

Added by Mateusz Nowakowski over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
JAXP Java API
Sprint/Milestone:
Start date:
2014-10-06
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

In mvn:net.sf.saxon:Saxon-HE:9.5.1-6 the following code snippet:

DOMSource inputSource = ...
DOMResult result = new DOMResult();
transformer.transform(inputSource, result);
return (Document) result.getNode();

returns valid Document.

With mvn:net.sf.saxon:Saxon-HE:9.6.0-1

it returns null.


Related issues

Has duplicate Saxon - Bug #2180: Problem to transform to a DOMResultDuplicate2014-10-13

Actions

Please register to edit this issue

Also available in: Atom PDF