Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338236 - [Bugzilla] Extract Namespace on dependent schema broken
Summary: [Bugzilla] Extract Namespace on dependent schema broken
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:53 EST by Stanislav Nichev CLA
Modified: 2021-11-18 16:20 EST (History)
0 users

See Also:


Attachments
reproduce data (1.90 KB, application/x-zip-compressed)
2011-02-25 10:53 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:53:22 EST
Build Identifier: 

Hi Colleagues,                                                       
                                                                     
In SIE 731 the following scenario fails:                             
1) Copy the attached files in the workspace                          
2) Open the wsdl in the SIE                                          
3) Go to the DT tab and select the first namespace                   
4) Right click -> Extract Namespace...                               
5) Select the "use ..." checkbox and click finish                    
6) 4 validation errors shown on the "http://namespace1" namespace    
                                                                     
Regards,                                                             
Stanislav                                                            
                                                                     
    Memo                                                             
    22.10.2010 14:51:42      Stanislav Nichev                        
Hi Colleagues,                                                       
                                                                     
Fix has been submitted in perforce3023.                              
Code review by Dimitar Tenev.                                        
                                                                     
Unit tests have been updated/developed to cover the fix.             
                                                                     
Source of the problem: the XsdSchema object keeps contents caches:   
getElementDeclarations(), getTypeDefinitions() and five more.        
                                                                     
Those caches were not updated on schemaLocation update of XsdImports.
                                                                     
Bugzilla needs to be reported in order to close the issue.           
                                                                     
Regards,                                                             
Stanislav                                                            


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-02-25 10:53:46 EST
Created attachment 189819 [details]
reproduce data