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

Bug 337726

Summary: Validation Error in DT Editor
Product: z_Archived Reporter: Stanislav Nichev <stanislav.nichev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: NEW --- QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: normal    
Priority: P3 CC: dimitar.donchev, stanislav.nichev
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
archive containing the test WSDL and XSDs none

Description Stanislav Nichev CLA 2011-02-21 09:52:23 EST
Build Identifier: 

Hello,
Import the attached WSDL and XSD files in your IDE. Open the WSDL with         
the SIE. Go to the source tab. Go to the declared schema with target           
namespace http://namespace1. Delete the http://namespace2 import.              
Copy and paste the http://namespace3 import in the same schema.                
Change the namespace value from http://namespace3 to http://namespace2         
Go to the DT tab - you will see 5 errors but the document is actually          
valid.
Regards,                                                                       
Nevena                                                                         


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-02-21 09:53:56 EST
Created attachment 189411 [details]
archive containing the test WSDL and XSDs
Comment 2 Stanislav Nichev CLA 2011-08-14 03:05:09 EDT
Hi Guys,

A short update of this issue.

The first namespace (http://namespace1) actually has imports to both namespaces (http://namespace2 and http://namespace3).
The reconciler needs to be changed to update only one xsd:import directive, not all.

This should fix the issue.

Regards,
Stanislav