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

Bug 340436

Summary: [DTE] Custom XSD validation broken
Product: z_Archived Reporter: Stanislav Nichev <stanislav.nichev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: CLOSED FIXED QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
xsd to reproduce
none
patch fixing the ObjectForResolveUtils none

Description Stanislav Nichev CLA 2011-03-18 10:55:03 EDT
Build Identifier: 

Hi Colleagues,

In DTE the following scenario fails:
1) open the attached xsd in the DTE
2) go to the DT tab and add new global element
3) custom xsd validation message is shown in the title
4) Ctrl + S - validation error is gone

Currently, the custom validation should be updated to cover the "null" namespace as well as "" (empty) namespace.

Regards,
Stanislav


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-03-18 10:55:37 EDT
Created attachment 191513 [details]
xsd to reproduce
Comment 2 Stanislav Nichev CLA 2011-06-11 11:26:37 EDT
Created attachment 197837 [details]
patch fixing the ObjectForResolveUtils

Hi Colleagues,

I've prepared a patch for this issue. The fixes are in the ObjectForResolveUtils.
I've added a test covering the test case described to reproduce the issue.

Regards,
Stanislav Nichev
Comment 3 Dimitar Tenev CLA 2011-07-01 08:16:04 EDT
Hi Stanislav,

Thanks for the fix. I have applied it.

Best regards,
Dimitar