Skip to content

SDK 1.9 Notice type 06 - Missing schematron rules (BT-14-Part + GR-Part-EnvironLegis, GR-Part-EmployLegis, GR-Part-FiscalLegis) #826

Answered by YvesJo
luispozoWS asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder) validation Related to notice validation.
2 participants