Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338233 - [Bugzilla] Validation not performed on deleted xsd:import
Summary: [Bugzilla] Validation not performed on deleted xsd:import
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:40 EST by Stanislav Nichev CLA
Modified: 2021-11-18 16:19 EST (History)
0 users

See Also:


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

Hi Colleagues,                                                         
                                                                       
In SIE 731 the following scenario fails:                               
1) Copy the attached files into the workspace                          
2) Open the attached wsdl in the SIE                                   
3) Go to the DT tab and select the "http://namespace1" namespace       
4) Go to the source tab (the schema element should be selected). If not
- go to the DOM element of the namespace                               
5) Delete the import to namespace "http://namespace2"                  
6) Go to the DT tab                                                    
7) No validation error                                                 
8) Expand the "http://namespace1" namespace                            
9) Element2 type is unresolved                                         
                                                                       
Validation error should be shown.                                      
                                                                       
Regards,                                                               
Stanislav                                                              
                                                                       
    Memo                                                               
    18.10.2010 17:25:37      Stanislav Nichev                          
Issue update:                                                          
No validation is performed when the schemaLocation of the xsd:import is
changed as well.                                                       
                                                                       
    Memo                                                               
    26.10.2010 13:05:02      Stanislav Nichev                          
Validation is performed, but on the non-updated model. There is no way 
to update the model.                                                   
                                                                       
Bugzilla needs to be reported.                                         
                                                                       
    Memo                                                               
    28.10.2010 14:50:43      Stanislav Nichev                          
Hi Colleagues,                                                         
                                                                       
Custom validation constraint was implemented to cover the dettached    
model.                                                                 
Validation is now performed on delete of imported namespace and on     
delete of import directive.                                            
                                                                       
Unit tests have been updated to cover the fix.                         
                                                                       
Code review by Dimitar Tenev.                                          
                                                                       
Regards,                                                               
Stanislav                                                              


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-02-25 10:42:17 EST
Created attachment 189816 [details]
reproduce data