...
Whenever vaildating a data model a generic diagnostic file is with all violations is produced. It might, however, be that one in a certain context wants to apply a filter.
Some types of errors are critical might be critical in a certain context whereas others can be ignored. Moreover, it can also be helpful to show context specific identification of the the instances that cause the problem, in order to pin point the problem.
Therefore one can switch on an option to produce a so called validation result model whenever validating a data model. After the validation is finished, the validation result model can be processed programatically.
The example is written in Java (edom3). A detailed documentation is found in the header of the Validation class in the example.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|