|Change in anyType field results into two differences found by comparison [message #1082972]
||Fri, 09 August 2013 05:27
| John M.
Registered: July 2010
I have a small generated ecore model (source is a xsd file) and want to compare two files. For testing proposal I changed the value of processName in the xml file:
I have already replaced the config EReference on type EObject with an own EClass having an attribute any.
I found in the EMF Compare FAQ http://wiki.eclipse.org/EMF_Compare_FAQ#Custom_data_types_are_always_marked_as_modified_by_EMF_Compare, but I can't solve my problem with it.
I think to replace the matcher isn't the right way. A custom DiffEngine gets already two matches, in my opinion it is incorrect.
I checked the EqualityHelper and it recognizes and matches the change.
Could it be possible that the comparer can't handle anytype correctly?
I has reviewed both differences and noticed the states DELETE (for the new value) and ADD (for the old value).
Thanks for any hints.
(Size: 9.83KB, Downloaded 45 times)
[Updated on: Fri, 09 August 2013 05:35]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.21765 seconds