|EVL validation fixes are not usable when having multiple EVL files [message #891875]
||Tue, 26 June 2012 11:58
| Maarten Bezemer
Registered: February 2012
I am taking another look at the EVL validation fixes and am having another problem.
I use multiple EVL files for validation (generally grouped by object type to prevent a big and messy evl file). My problem is that the EvlValidator#validate() removes the old fixes before validating using:
This results in not so old fixes getting removed as well due to the multiple EVL files. Say if the 'first' EVL file found a problem for which a fix is available it gets registered. After that the 'second' EVL file is used for validation and the fix of the 'first' EVL file is removed already...
Is this a known problem, or should I open a new bug report?
First I have to fix some other things, but after that I am willing to take a look at it and provide a patch (if it indeed is a bug and not my error).
For example, the EVLFixInstance class could be extended by storing the EVL URI, so when remove fixes only the ones for a specific URI are included.
Note: The EVLFixInstance class is not in org.eclipse.epsilon.evl.emf.validation (but in org.eclipse.epsilon.evl) I would expect it to be present in the former plugin as it is a validation related class?
Powered by FUDForum
. Page generated in 0.03256 seconds