Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 105127 - Generate XML File wizard drops WS-Addressing namespace in new XML file
Summary: Generate XML File wizard drops WS-Addressing namespace in new XML file
Status: CLOSED DUPLICATE of bug 105128
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 05:09 EDT by Alexis Biller CLA
Modified: 2005-07-26 09:01 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 Alexis Biller CLA 2005-07-26 05:09:10 EDT
WST M7RC3
IBM Java 1.4.2/SR1

TASKS TO SHOW BUG
A. From a validated schema, select to Generate XML File (PRecord.xsd from
attached schemas). 
B. Provide output location. 
C. Select to generate optional content.
D. Validation of generated XML File reports errors.

Resulting XML contains errors, as (1) a namespace has not been defined and (2)
reference to namespace is not provided in related elements. The namespace that
is missing is referenced within another schema (WPStruct.xsd from attached files).

1. Missing namespace: xmlns:wsa="http://www.w3.org/2005/03/addressing"
2. Example incomplete Element (needs wsa: prefix):
2.1 BAD
	<pr:clientId>
		<EndpointReference>
			<Address>http://tempuri.org</Address>
			<ReferenceParameters />
			<Metadata />
		</EndpointReference>
	</pr:clientId>
2.2 GOOD
	<pr:clientId>
		<wsa:EndpointReference>
			<wsa:Address>http://tempuri.org</wsa:Address>
			<wsa:ReferenceParameters />
			<wsa:Metadata />
		</wsa:EndpointReference>
	</pr:clientId>
Comment 1 David Williams CLA 2005-07-26 08:57:06 EDT

*** This bug has been marked as a duplicate of 105128 ***
Comment 2 Alexis Biller CLA 2005-07-26 09:01:19 EDT
i suspect "trigger-happy mouse button clicking" - soz!