Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BT-136-procedure - mandatory rules are not invited during validation #1120

Open
tompeeszter opened this issue Jan 27, 2025 · 2 comments
Open
Assignees
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder)
Milestone

Comments

@tompeeszter
Copy link

tompeeszter commented Jan 27, 2025

We have noticed that some mandatory rules according to field BT-136-Procedure aren't invited during schematron validation of specific notices.
The following notices are concerned: eForm 25, 26, 27, 28, 29, 30, 31.
(validation-stage-4-25.sch)
For example:
<assert id="BR-BT-00136-0032" role="ERROR" diagnostics="BT-136-Procedure" test="count(cbc:ProcessReasonCode) &gt; 0 or not(../cbc:ProcedureCode/normalize-space(text()) = 'neg-wo-call')">rule|text|BR-BT-00136-0032</assert>

On the other hand the mandatory rules for filed BT-135-Notice are invited, for example:
(validation-stage-4-25.sch)
<assert id="BR-BT-00135-0032" role="ERROR" diagnostics="ND-ProcedureTenderingProcess_BT-135-Procedure" test="count(cac:ProcessJustification[cbc:ProcessReasonCode/@listName='direct-award-justification']/cbc:ProcessReason) &gt; 0 or not(cbc:ProcedureCode/normalize-space(text()) = 'neg-wo-call')">rule|text|BR-BT-00135-0032</assert>
The rule will still return an error if the field BT-135-Notice is filled in (BT-136-Notice still does not exist).

Maybe there is a problem with the contexts for rules on BT-136-Procedure?
We use SDK 1.13.0.

Could you please investigate the issue?
Thanks in advance!

@YvesJo YvesJo added this to the SDK 1.14.0 milestone Jan 27, 2025
@YvesJo YvesJo self-assigned this Jan 27, 2025
@YvesJo YvesJo added the schematrons Related to the Schematron validation (/schematrons SDK folder) label Jan 27, 2025
@YvesJo
Copy link
Contributor

YvesJo commented Jan 27, 2025

Hi,
There was indeed a context issue for the rules on BT-136-Procedure and the context has been updated (i.e. changed from "ND-DirectAward" to "ND-ProcedureTenderingProcess") for SDK 1.14.
KR

@tompeeszter
Copy link
Author

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder)
Projects
None yet
Development

No branches or pull requests

2 participants