| Summary: | External EAnnotation.references fail to compare equal | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
Thanks Ed, I just tried with the current maintained streams (1.2 maintenance branch and master) and neither "per Resource" or "whole resourceSet" are detecting a change. It has been fixed by the proxy/out of scope fixes we did the previous weeks. So far so good :) Closing our "resolved" and "verified" bugs. |
(Maybe this is covered by your many M1 fixes, but it makes a good test case anyway.) The following file and another file with identical content compare with two changes on the reference to the external EAnnotation. <?xml version="1.0" encoding="UTF-8"?> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="foo" nsURI="http://www.foobar.com/0.1" nsPrefix="amber"> <eClassifiers xsi:type="ecore:EClass" name="Bar1"> <eStructuralFeatures xsi:type="ecore:EReference" name="start" lowerBound="1" eType="#//Socket"> <eAnnotations references="http://www.eclipse.org/emf/2002/Ecore#//ELong/%http:%2F%2F%2Forg%2Feclipse%2Femf%2Fecore%2Futil%2FExtendedMetaData% #//Bar1/start #/ #//Socket"/> </eStructuralFeatures> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="Socket"/> </ecore:EPackage>