SDK 1.9 Notice type 06 - Missing schematron rules (BT-14-Part + GR-Part-EnvironLegis, GR-Part-EmployLegis, GR-Part-FiscalLegis) #826
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
The validation process starts with the lexical validation (i.e. validation against the XSD) and the schematron will only be evaluated after, therefore having schematron rules may not help. We may have as illustration the case reported some days ago where BT-14 is optional and and OPT-140-Lot forbidden when BT-14-Lot does not exist and Mandatory when it does; however when this rule is not reflected on the UI and/or the user does not fill in OPT-140-Lot before submission for validation while BT-14 exists, he will face an XSD error.
It could be possible to use the ID (OPT-111, OPT-112, OPT-113, OPT-140) as entry point and forbid the specification of further information (e.g. OPT-110, OPT…