Skip to content

field BT-5141-Procedure 1.8 #604

Answered by YvesJo
elerik asked this question in Q&A
Jul 27, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi,
For BT-5141-Procedure, there is a condition on the Forbidden rule and this condition is shared (in its negative form) with the mandatory rule. To be mandatory, the field must first be allowed (i.e. not forbidden).

In the schematron:

<rule context="/*/cac:ProcurementProject/cac:RealizedLocation/cac:Address[$noticeSubType = '36']">

<!-- mandatory and forbidden rules -->
		<assert id="BR-BT-05141-0045" role="ERROR" diagnostics="BT-5141-Procedure" test="count(cac:Country/cbc:IdentificationCode) &gt; 0 or (cbc:Region/normalize-space(text()) = ('anyw','anyw-eea'))">rule|text|BR-BT-05141-0045</assert>
		<assert id="BR-BT-05141-0222" role="ERROR" diagnostics="BT-5141-Procedure" test="count(c…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@elerik
Comment options

@YvesJo
Comment options

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
help wanted Extra attention is needed validation Related to notice validation. visualisation Related to notice visualisation.
2 participants