Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335046 - JAXB: Schema generator is not setting the schema location properly
Summary: JAXB: Schema generator is not setting the schema location properly
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-01-21 14:11 EST by David McCann CLA
Modified: 2022-06-09 10:23 EDT (History)
0 users

See Also:


Attachments
Proposed fix. (9.01 KB, patch)
2011-01-21 14:11 EST, David McCann CLA
no flags Details | Diff
Supporting/modified test cases. (75.50 KB, patch)
2011-01-21 14:12 EST, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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