Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350724 - DBWS: Schema generator does not write out namespace declaration for prefix "ref" when required
Summary: DBWS: Schema generator does not write out namespace declaration for prefix "r...
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-06-29 12:46 EDT by David McCann CLA
Modified: 2022-06-09 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix. (4.19 KB, patch)
2011-07-13 14:54 EDT, David McCann CLA
no flags Details | Diff
Proposed fix v2. (5.36 KB, patch)
2011-07-14 12:03 EDT, 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-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