Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362329 - Complex type name for arrays is based on Java rather than schema name
Summary: Complex type name for arrays is based on Java rather than schema name
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-28 11:45 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:24 EDT (History)
1 user (show)

See Also:


Attachments
MOXy - Test Cases (25.87 KB, patch)
2011-10-28 12:04 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (2.3.2) (2.82 KB, patch)
2011-10-28 12:04 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (trunk) (2.83 KB, patch)
2011-10-28 12:05 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (2.3.2) (3.87 KB, patch)
2011-10-28 14:54 EDT, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (trunk) (3.88 KB, patch)
2011-10-28 15:08 EDT, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2011-10-28 11:45:53 EDT
Currently when we build a JAXBContext on an array type (i.e. BigInteger.class) the corresponding complex type is based on the class (bigIntegerArray) instead of the schema type (integerArray).
Comment 1 Blaise Doughan CLA 2011-10-28 12:04:22 EDT
Created attachment 206138 [details]
MOXy - Test Cases
Comment 2 Blaise Doughan CLA 2011-10-28 12:04:49 EDT
Created attachment 206140 [details]
MOXy - Fix (2.3.2)
Comment 3 Blaise Doughan CLA 2011-10-28 12:05:08 EDT
Created attachment 206141 [details]
MOXy - Fix (trunk)
Comment 4 Blaise Doughan CLA 2011-10-28 14:54:47 EDT
Created attachment 206148 [details]
MOXy - Fix (2.3.2)
Comment 5 Blaise Doughan CLA 2011-10-28 15:08:32 EDT
Created attachment 206149 [details]
MOXy - Fix (trunk)
Comment 6 Blaise Doughan CLA 2011-10-28 15:16:17 EDT
Fix checked into 2.3.2 at rev:  10295
Fix checked into trunk at rev:  10296

Code reviewed by:  Denise Smith

Fix details:
Changed complex type name for array to be based on XML rather than Java type.
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:24:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink