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

Bug 356504

Summary: Schema Generation differs from RI having form="qualified" on elements
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 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed changes and test none

Description Denise Smith CLA 2011-09-01 14:19:00 EDT
When a schema has elementformqualified false and an element has the same uri of the targetnamespace MOXy generates the following:
   <xsd:element maxOccurs="unbounded" minOccurs="0" ref="x:test"/>

   <xsd:element name="test" type="x:employee-type"/>

But could instead generate:
   <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="test" type="x:employee-type"/>
Comment 1 Denise Smith CLA 2011-09-01 14:45:21 EDT
Created attachment 202630 [details]
Proposed changes and test
Comment 2 Denise Smith CLA 2011-09-13 11:30:46 EDT
Fixed as per patch.  Added a "form" attribute to the SimpleComponent class in our schema model
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:25:36 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink