| Summary: | [model] Element referenced by inline namespace cannot be found | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Valentin Baciu <valentinbaciu> | ||||||||
| Component: | wst.wsdl | Assignee: | Valentin Baciu <valentinbaciu> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Valentin Baciu <valentinbaciu> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P2 | CC: | ccc, keith.chong.ca | ||||||||
| Version: | 3.0.5 | Flags: | keith.chong.ca:
review+
|
||||||||
| Target Milestone: | 3.0.5 P | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 314929, 317735 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 170234 [details]
JUnit (currently failing)
Apply to org.eclipse.wst.wsdl.tests. Run org.eclipse.wst.wsdl.tests.AllTestCases and notice the new test case failing.
Created attachment 170397 [details]
Patch
Apply to org.eclipse.wst.wsdl.
Re-run the JUnits - they should be all green now.
Hey Valentin, looks ok. I was wondering why the prefix is assigned "xmlns" in the patch, but it makes sense in the context of the code, that the attribute local part name becomes "xmlns". Committed to R3_0_5_patches Verified. Closing. |
Created attachment 170204 [details] 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.