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

Bug 338237

Summary: [Bugzilla] SIE/DTE xsd import or include should consider namespace
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    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
DTE reproduce data
none
SIE reproduce data none

Description Stanislav Nichev CLA 2011-02-25 10:58:24 EST
Build Identifier: 

Hi Colleagues,                                                        
                                                                      
Using SIE the following scenario fails:         
Scenario:                                                             
    DTE                                                               
1. Unzip the attached dte.zip in a java project                       
2. Open MySchema.xsd                                                  
3. Select Element1 and do change its type to StructureType12 from     
MySchema2.xsd - here on import the namespace of the imported schema   
should be considered, and <include> should be used instead of <(>     
<<)>import>                                                           
                                                                      
    SIE                                                               
1. Unzip the attached sie.zip in a java project                       
2. Open NewWSDLFile.wsdl, and select "Data Types" tab                 
3. Select Element1 and do change its type to StructureType12 from     
MySchema2.xsd - here on import the namespace of the imported schema   
should be considered, and <include> should be used instead of <(>     
<<)>import>                                                           
                                                                      
                                                                      
Best regards,                                                         
Dimitar                                                               
                                                                      
    Memo                                                              
    27.10.2010 13:10:05      Stanislav Nichev                         
Hi Colleagues,                                                        
                                                                      
Fix has been submitted in perforce3023.                               
                                                                      
Bugzilla needs to be reported:                                        
1) Add include to the schema                                          
2) Ctrl + Z                                                           
3) The include is no longer in the text, but is still in the model:   
schema.getContents()                                                  
                                                                      
Unit test has been developed to cover the fix:                        
IncludeSchemaOnImportSchemaCommandXSDTest. This test, however, will be
working only when the bugzilla has been fixed.                        
                                                                      
The one to report the bugzilla should also update the unit test - the 
link to the bugzilla needs to be added to the @Ignore annotation.     
                                                                      
Regards,                                                              
Stanislav                                                             


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-02-25 10:59:01 EST
Created attachment 189820 [details]
DTE reproduce data
Comment 2 Stanislav Nichev CLA 2011-02-25 10:59:19 EST
Created attachment 189821 [details]
SIE reproduce data