Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340436 - [DTE] Custom XSD validation broken
Summary: [DTE] Custom XSD validation broken
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Tenev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 10:55 EDT by Stanislav Nichev CLA
Modified: 2021-11-18 16:19 EST (History)
0 users

See Also:


Attachments
xsd to reproduce (406 bytes, application/octet-stream)
2011-03-18 10:55 EDT, Stanislav Nichev CLA
no flags Details
patch fixing the ObjectForResolveUtils (42.21 KB, patch)
2011-06-11 11:26 EDT, Stanislav Nichev CLA
no flags Details | Diff

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