Actions
Bug #2164
closedEmpty DOMResult provided to transform method produces null result
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
Updated by Michael Kay about 10 years ago
- Status changed from New to Resolved
- Found in version changed from 9.6.0-1 to 9.6
Thanks for reporting it. I have added a JUnit test case JAXPTests/DOMTest/testEmptyDomResult, and I have committed a patch on the 9.6 and 9.7 code branches. The fix will appear in the next maintenance release.
Updated by O'Neil Delpratt about 10 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.2
Bug fix applied to the maintenance release Saxon 9.6.0.2
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone set to 9.6.0.2
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.2 added
Please register to edit this issue
Actions