Skip to content

Commit

Permalink
correct schematron rule
Browse files Browse the repository at this point in the history
  • Loading branch information
nmondoar authored and nmondoar committed Sep 19, 2023
1 parent a52798a commit f1aee37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/peppol-invitation-to-tender/PEPPOL-T024.sch
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@

<rule context="ubl:CallForTenders/cac:TenderingProcess/cbc:ContractingSystemCode">
<report id="PEPPOL-T024-S397" flag="warning" test="./@*[not(name()='listID')]"><value-of select="$syntaxError"/>[PEPPOL-T024-S397] ContractingSystemCode SHOULD NOT have any attributes but listID.</report>
<assert id="PEPPOL-T024-R038" flag="fatal" test="not (cbc:ContractingSystemCode in ('1', '2', '3')>[PEPPOL-T024-R038] A Call For Tender is only allowed to use une of the following ContractSystemCodes: 'Public Contract', 'Establishment of a Framework agreement' or 'Setting up a Dynamic Purchasing System'.</assert> </rule>
<assert id="PEPPOL-T024-R038" flag="fatal" test="not (cbc:ContractingSystemCode in ('1', '2', '3')">[PEPPOL-T024-R038] A Call For Tender is only allowed to use une of the following ContractSystemCodes: 'Public Contract', 'Establishment of a Framework agreement' or 'Setting up a Dynamic Purchasing System'.</assert> </rule>

<rule context="ubl:CallForTenders/cac:TenderingProcess/cbc:SubmissionMethodCode">
<report id="PEPPOL-T024-S372" flag="warning" test="./@*[not(name()='listID')]"><value-of select="$syntaxError"/>[PEPPOL-T024-S372] SubmissionMethodCode SHOULD NOT have any attributes but listID.</report>
Expand Down

0 comments on commit f1aee37

Please sign in to comment.