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

Bug 350724

Summary: DBWS: Schema generator does not write out namespace declaration for prefix "ref" when required
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 CC: michael.norman
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix.
none
Proposed fix v2. none

Description David McCann CLA 2011-06-29 12:46:04 EDT
When dealing with binary attachments the DBWS schema file contains a type set to 'ref:swaref', but does not write out the namespace declaration 

xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd"
Comment 1 David McCann CLA 2011-07-13 14:54:02 EDT
Created attachment 199612 [details]
Proposed fix.
Comment 2 David McCann CLA 2011-07-14 12:03:27 EDT
Created attachment 199678 [details]
Proposed fix v2.
Comment 3 Mike Norman CLA 2011-07-14 12:13:16 EDT
looks good
Comment 4 David McCann CLA 2011-07-18 12:08:14 EDT
Reviewed by michael.norman@oracle.com
Tests:  all unit tests pass as expected;  AttachedBinaryTestSuite

Checked into 2.3.1 - revision: 9749
Checked into 2.4   - revision: 9750
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:33:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink