Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314762 - JAXB Externalized Metadata: Schema gen incorrect for xml-path containing namespace info on attribute
Summary: JAXB Externalized Metadata: Schema gen incorrect for xml-path containing name...
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: 308677
  Show dependency tree
 
Reported: 2010-05-27 15:35 EDT by David McCann CLA
Modified: 2022-06-09 10:23 EDT (History)
0 users

See Also:


Attachments

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