Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361943

Summary: Error converting DataHandler to javax.xml.transform.Source
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Fix none

Description Matt MacIvor CLA 2011-10-25 11:28:34 EDT
The EclipseLink code to convert from a DataHandler to a Source always assumes that the getContent() method on DataHandler will return a Source. This is not always the case. In addition, if the getContent() method returns something other than a Source, or some exception occurs, the exception is swallowed.
Comment 1 Matt MacIvor CLA 2011-10-25 13:28:37 EDT
Created attachment 205939 [details]
Proposed Fix
Comment 2 Matt MacIvor CLA 2011-11-01 13:07:20 EDT
Attached patch checked in to SVN
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:20:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink