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

Bug 105127

Summary: Generate XML File wizard drops WS-Addressing namespace in new XML file
Product: [WebTools] WTP Source Editing Reporter: Alexis Biller <alexis.biller>
Component: wst.xmlAssignee: wst.xml <wst.xml-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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!