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

Bug 336014

Summary: JAXB should always marshal byte[] as base64 unless otherwise specified
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-02-01 15:29:32 EST
In EclipseLink jaxb, if a context is created without explicitly adding byte[] to the context and a JAXBElement<byte[]> is marshalled, it will be marshalled as hexBinary. This should be marshalled as base64 instead.
Comment 1 Matt MacIvor CLA 2011-02-01 16:30:45 EST
Created attachment 188091 [details]
Proposed Fix
Comment 2 Matt MacIvor CLA 2011-02-03 10:55:22 EST
Attached patch checked in to SVN
Reviewed by David McCann
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:33:37 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink