Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314929 - [model] Element referenced by inline namespace cannot be found
Summary: [model] Element referenced by inline namespace cannot be found
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: 3.0.5   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 3.2.1   Edit
Assignee: Valentin Baciu CLA
QA Contact: Valentin Baciu CLA
URL:
Whiteboard:
Keywords:
Depends on: 314702
Blocks: 317735
  Show dependency tree
 
Reported: 2010-05-28 14:13 EDT by Valentin Baciu CLA
Modified: 2010-06-28 13:38 EDT (History)
1 user (show)

See Also:
keith.chong.ca: review+


Attachments
JUnit test (6.19 KB, patch)
2010-06-23 14:21 EDT, Valentin Baciu CLA
no flags Details | Diff
Fix (1.70 KB, patch)
2010-06-23 14:22 EDT, Valentin Baciu CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Baciu CLA 2010-05-28 14:13:35 EDT
+++ This bug was initially created as a clone of Bug #314702 +++

Created an attachment (id=170204)
Sample WSDL document

The WSDL EMF model does not properly resolve component QNames in the default namespace when the default namespace is re-declared locally on the element that  uses the QName reference. See attached WSDL document for an example. 

To see the visible manifestation of this bug, open the attached WSDL document with the WSDL editor, switch to the design view and note the broken links between the message parts and the elements they refer to.
Comment 1 Valentin Baciu CLA 2010-06-23 14:21:35 EDT
Created attachment 172538 [details]
JUnit test

Apply to org.eclipse.wst.wsdl.tests. The new JUnit test will be failing.
Comment 2 Valentin Baciu CLA 2010-06-23 14:22:14 EDT
Created attachment 172539 [details]
Fix

Apply to org.eclipse.wst.wsdl. All JUnits will be green again.
Comment 3 Valentin Baciu CLA 2010-06-23 14:23:07 EDT
Keith, please review and consider approving this fix for WTP 3.2.1.
Comment 4 Keith Chong CLA 2010-06-24 12:01:20 EDT
I've reviewed this fix for 305p.  Looks good.
Comment 5 Valentin Baciu CLA 2010-06-24 17:29:43 EDT
Patches released to WTP 3.2.1 builds > v201006242129 UTC.
Comment 6 Valentin Baciu CLA 2010-06-28 13:38:45 EDT
Verified with M-3.2.1-20100626194259. Closing.