Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356234 - Capitalization issue creating complex type names from class names
Summary: Capitalization issue creating complex type names from class names
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 13:39 EDT by Denise Smith CLA
Modified: 2022-06-09 10:22 EDT (History)
0 users

See Also:


Attachments
Proposed change and updated test (4.84 KB, patch)
2011-08-30 13:58 EDT, Denise Smith CLA
no flags Details | Diff
Updated patch (8.67 KB, patch)
2011-10-19 11:20 EDT, Denise Smith CLA
no flags Details | Diff
Updated patch (18.65 KB, patch)
2011-10-26 12:05 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denise Smith CLA 2011-08-30 13:39:20 EDT
Given the class name J2WRLSharedBeanthe complex type should be called "j2WRLSharedBean" however MOXy is generating j2WRLSHAREDBEAN

Given the class name CDNPriceTest the complex type name shoule be cdnPriceTest
Comment 1 Denise Smith CLA 2011-08-30 13:58:45 EDT
Created attachment 202449 [details]
Proposed change and updated test
Comment 2 Denise Smith CLA 2011-08-30 15:40:39 EDT
Fix to DefaultXMLNameTransformer to break out of capitalizing letters.
Comment 3 Denise Smith CLA 2011-10-19 11:07:40 EDT
That particular class name works but CLASS2 now goes to a complexType called "clasS2" instead of "class2"
Comment 4 Denise Smith CLA 2011-10-19 11:20:28 EDT
Created attachment 205540 [details]
Updated patch
Comment 5 Denise Smith CLA 2011-10-26 12:05:34 EDT
Created attachment 205999 [details]
Updated patch
Comment 6 Denise Smith CLA 2011-10-26 13:30:18 EDT
Fix to DefaultXMLNameTransformer checked in to 2.3 and 2.4
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:22:47 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink