Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336014 - JAXB should always marshal byte[] as base64 unless otherwise specified
Summary: JAXB should always marshal byte[] as base64 unless otherwise specified
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-02-01 15:29 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:33 EDT (History)
0 users

See Also:


Attachments
Proposed Fix (927 bytes, patch)
2011-02-01 16:30 EST, 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-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