Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338632 - Custom validation constraint for element references shows broken reference
Summary: Custom validation constraint for element references shows broken reference
Status: CLOSED INVALID
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-03-02 04:15 EST by Stanislav Nichev CLA
Modified: 2021-11-18 16:20 EST (History)
0 users

See Also:


Attachments
wsdl file to reproduce the issue (2.85 KB, application/octet-stream)
2011-03-02 04:16 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-03-02 04:15:29 EST
Build Identifier: 

Hi Colleagues,

In SIE the following scenario fails:
1) Open the attached WSDL
2) Go to the DT tab and select "http://www.example.org/NewWSDLFile/"/ StructureType1/GlobalElement
3) Go to the source tab
4) Update the prefix from type="tns:GlobalElement" to type="ns0:GlobalElement"
5) Go back to the DT tab - a validation error is shown. This validation error ends with a dot, so it's comming from the custom validation :)

As a hint, the custom constraint is here: "org.eclipse.wst.sse.sieditor.model.validation.constraints.UnresolvedXsdContentsValidation"

Regards,
Stanislav

Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-03-02 04:16:04 EST
Created attachment 190112 [details]
wsdl file to reproduce the issue
Comment 2 Stanislav Nichev CLA 2011-06-19 08:49:00 EDT
Hi Colleagues,

Actually, the custom validation is perfect ;) (or at least in this case).
The first schema does not have an import directive to the second schema.

I'm closing this bugzilla, since it is invalid.

Regards,
Stanislav