Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] EMF validation improvement

Hi

In response to https://bugs.eclipse.org/bugs/show_bug.cgi?id=521642 Ed Merks has made a minor rearrangement to Diagnostician so that it now invokes validate on each element returned by EcoreUtil.getAllContents rather than relying on doValidateContents to traverse the containment hierarchy, and possibly run out of stack.

The change is eminently sensible but may break applications that have a non-standard model element traversal. i.e. Papyrus where the traversal may be non-standard

a) to integrate the non-child stereotype applications with respect to their stereotyped elements

b) UML-blind OCL validation as an augment to the OCL-blind UML validation

c) Additional EMFv functionalities

I recommend that the EMF Gerrit build be used and its suitability for Papyrus assessed. If necessary the old behaviour can be configured by a slight change to the Diagnostician initialization.

    Regards

        Ed Willink



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Back to the top