Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361943 - Error converting DataHandler to javax.xml.transform.Source
Summary: Error converting DataHandler to javax.xml.transform.Source
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 11:28 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:20 EDT (History)
0 users

See Also:


Attachments
Proposed Fix (2.04 KB, patch)
2011-10-25 13:28 EDT, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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