Add accept documentation about acceptRecommendation

This commit is contained in:
Renzo Kottmann 2020-03-18 18:16:35 +01:00 committed by Andreas Penski (init)
parent a12ff356d8
commit 84ef377324
2 changed files with 26 additions and 2 deletions

View file

@ -13,9 +13,9 @@ the validation and generates a report in XML format. This report is then the inp
The validator reports valid/invalid, a configuration reports acceptance/rejection!
## General process
## General default process
The general process is like this:
The general process is like this (the default is defined in `DefaultCheck`):
```mermaid
@ -30,6 +30,7 @@ sequenceDiagram
e->>e: validate Schematron
e->>e: create Validator Report
e->>+c: execute configuration report generator
e->>e: Compute Recommendation
```
@ -50,3 +51,8 @@ sequenceDiagram
6. *execute configuration report generator*
The Validator will search for the XSLT as configured in scenario.xml and execute it with the Validator Report as input
7. compute Recommendation
In case a scenario contains an `acceptMatch` element with an XPATH expression, this expression will be executed.
In case the XPATH returns `true`, the recommendation will be set to `ACCEPT` else to `REJECT`. In case no such XPATH is defined it is `UNDEFINED`.