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

Bug 330472

Summary: Dynamic JAXB: Schema Import / Entity Resolver fails if bootstrapping from XSDNode
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: blaise.doughan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Rick Barkhouse CLA 2010-11-17 11:35:28 EST
Given SCHEMA1 that imports SCHEMA2, everything works fine if bootstrapping from an InputSource, but fails if coming from a Node.  This is due to the introduction of a blank SYSTEM_ID during schema parsing, that later clashes with the SYSTEM_ID returned from the EntityResolver.
Comment 1 Rick Barkhouse CLA 2011-06-27 17:17:21 EDT
Created attachment 198689 [details]
Patch
Comment 2 Rick Barkhouse CLA 2011-06-28 10:54:13 EDT
The same issue exists if trying to use XJC external bindings files.  A fix for this is also included in this patch.
Comment 3 Rick Barkhouse CLA 2011-06-28 11:52:25 EDT
Fixed, reviewed by mmacivor.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink