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

Bug 335046

Summary: JAXB: Schema generator is not setting the schema location properly
Product: z_Archived Reporter: David McCann <david.mccann>
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 XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix.
none
Supporting/modified test cases. none

Description David McCann CLA 2011-01-21 14:11:07 EST
If the result returned from a given SchemaOutputResolver contains a systemId we should set that value as the schemaLocation on a generated import.  We currently ignore the systemId and set the schemaLocation to our suggested schema name.
Comment 1 David McCann CLA 2011-01-21 14:11:32 EST
Created attachment 187311 [details]
Proposed fix.
Comment 2 David McCann CLA 2011-01-21 14:12:06 EST
Created attachment 187312 [details]
Supporting/modified test cases.
Comment 3 David McCann CLA 2011-01-24 11:43:40 EST
reviewed by:  matt.macivor@oracle.com
tests:  all unit tests pass as expected;  jaxb schemagen test cases
Revision 8877.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink