Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338237 - [Bugzilla] SIE/DTE xsd import or include should consider namespace
Summary: [Bugzilla] SIE/DTE xsd import or include should consider namespace
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Tenev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 10:58 EST by Stanislav Nichev CLA
Modified: 2021-11-18 16:20 EST (History)
0 users

See Also:


Attachments
DTE reproduce data (795 bytes, application/x-zip-compressed)
2011-02-25 10:59 EST, Stanislav Nichev CLA
no flags Details
SIE reproduce data (1.10 KB, application/x-zip-compressed)
2011-02-25 10:59 EST, Stanislav Nichev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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