Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 196040 - handleObjectAttribs() should call handleProxy if type is known
Summary: handleObjectAttribs() should call handleProxy if type is known
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: XML/XMI (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 204200
  Show dependency tree
 
Reported: 2007-07-10 14:08 EDT by James Bruck CLA
Modified: 2008-01-28 16:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Bruck CLA 2007-07-10 14:08:19 EDT
SAXXMLHandler and SAXXMIHandler handleObjectAttribs() should call handleProxy if type is known.
In particular, if the name of the attribute being processed is "href" then if the internalEObject is not an AnyType, handleProxy() should probably be called.

This is important in migration scenarios where the getMixed() is used.  In such cases, a "half-baked" object would be returned ( an uninialized object with no proxy URI set ).
Comment 1 Ed Merks CLA 2007-07-10 14:14:08 EDT
I'll mark this as an enhancement, since I don't think the current behavior is wrong and I need to experiment whether testing for AnyType is absolutely correct for all use cases...
Comment 2 Ed Merks CLA 2007-09-30 09:15:37 EDT
Tests like the one in the UML specialization have been committed to CVS for 2.4.
Comment 3 Nick Boldt CLA 2007-10-03 01:02:45 EDT
Fixed in I200710022259.
Comment 4 Nick Boldt CLA 2008-01-28 16:41:15 EST
Move to verified as per bug 206558.