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

Bug 314762

Summary: JAXB Externalized Metadata: Schema gen incorrect for xml-path containing namespace info on attribute
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:
Bug Depends on:    
Bug Blocks: 308677    

Description David McCann CLA 2010-05-27 15:35:38 EDT
If the xml-path has an attribute that is from a different namespace, we need to:

1 - create a global attribute in the target schema
2 - create an attribute ref to that global attribute

We currently create a global element and element ref.
Comment 1 David McCann CLA 2010-05-27 15:52:25 EDT
Reviewed by:  matt.macivor@oracle.com
Tests:  all unit tests pass as expected; jaxb/externalizedmetadata/mappings/direct/DirectMappingTestCases
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:23:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink