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

Bug 356234

Summary: Capitalization issue creating complex type names from class names
Product: z_Archived Reporter: Denise Smith <denise.mahar>
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 7   
Whiteboard:
Attachments:
Description Flags
Proposed change and updated test
none
Updated patch
none
Updated patch none

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