|
11 | 11 | <assert id="BR-BT-00002-0107" role="ERROR" diagnostics="BT-02-notice" test="((cbc:NoticeTypeCode/@listName = 'dir-awa-pre') and (cbc:NoticeTypeCode/normalize-space(text()) = ('veat'))) or not(cbc:NoticeTypeCode/@listName = 'dir-awa-pre')">rule|text|BR-BT-00002-0107</assert> |
12 | 12 | <assert id="BR-BT-00002-0108" role="ERROR" diagnostics="BT-02-notice" test="((cbc:NoticeTypeCode/@listName = 'planning') and (cbc:NoticeTypeCode/normalize-space(text()) = ('pin-buyer','pin-only','pin-rtl','pin-tran'))) or not(cbc:NoticeTypeCode/@listName = 'planning')">rule|text|BR-BT-00002-0108</assert> |
13 | 13 | <assert id="BR-BT-00002-0109" role="ERROR" diagnostics="BT-02-notice" test="((cbc:NoticeTypeCode/@listName = 'result') and (cbc:NoticeTypeCode/normalize-space(text()) = ('can-desg','can-social','can-standard','can-tran'))) or not(cbc:NoticeTypeCode/@listName = 'result')">rule|text|BR-BT-00002-0109</assert> |
14 | | - <assert id="BR-BT-00127-0100" role="ERROR" diagnostics="BT-127-notice" test="(cbc:PlannedDate/xs:date(text()) > cbc:IssueDate/xs:date(text())) or not(cbc:PlannedDate) or not(cbc:IssueDate)">rule|text|BR-BT-00127-0100</assert> |
| 14 | + <assert id="BR-BT-00127-0100" role="ERROR" diagnostics="BT-127-notice" test="((cbc:PlannedDate/xs:date(text()) > cbc:IssueDate/xs:date(text())) or not(cbc:PlannedDate) or not(cbc:IssueDate)) or not(not(ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Changes/efbc:ChangedNoticeIdentifier))">rule|text|BR-BT-00127-0100</assert> |
15 | 15 | <assert id="BR-BT-00702-0150" role="ERROR" diagnostics="BT-702_a_-notice" test="(not(cbc:NoticeLanguageCode/normalize-space(text()) = cac:AdditionalNoticeLanguage/cbc:ID)) or not(cac:AdditionalNoticeLanguage/cbc:ID)">rule|text|BR-BT-00702-0150</assert> |
16 | 16 | <assert id="BR-BT-00738-0053" role="ERROR" diagnostics="BT-738-notice" test="((boolean(for $T in (current-date()) return ($T + xs:dayTimeDuration(cbc:RequestedPublicationDate/xs:date(text()) - cbc:IssueDate/xs:date(text())) < $T + xs:dayTimeDuration('P60D')))) and (boolean(for $T in (current-date()) return ($T + xs:dayTimeDuration(cbc:RequestedPublicationDate/xs:date(text()) - cbc:IssueDate/xs:date(text())) >= $T + xs:dayTimeDuration('P0D'))))) or not(cbc:RequestedPublicationDate)">rule|text|BR-BT-00738-0053</assert> |
17 | 17 | <assert id="BR-OPT-00300-0250" role="ERROR" diagnostics="ND-Root_OPT-300-Procedure-Buyer" test="(every $buyer in cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID satisfies ($buyer = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID)) or not(cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00300-0250</assert> |
|
62 | 62 | <assert id="BR-BT-00131-0150" role="ERROR" diagnostics="ND-LotTenderingProcess_BT-131_d_-Lot" test="(cac:AdditionalInformationRequestPeriod/cbc:EndDate/xs:date(text()) <= cac:TenderSubmissionDeadlinePeriod/cbc:EndDate/xs:date(text())) or not((cac:TenderSubmissionDeadlinePeriod/cbc:EndDate) and (cac:AdditionalInformationRequestPeriod/cbc:EndDate))">rule|text|BR-BT-00131-0150</assert> |
63 | 63 | <assert id="BR-BT-00131-0151" role="ERROR" diagnostics="ND-LotTenderingProcess_BT-131_d_-Lot" test="(cac:TenderSubmissionDeadlinePeriod/cbc:EndDate/xs:date(text()) > ../../cbc:IssueDate/xs:date(text())) or not((cac:TenderSubmissionDeadlinePeriod/cbc:EndDate) and (../../cbc:IssueDate))">rule|text|BR-BT-00131-0151</assert> |
64 | 64 | <assert id="BR-BT-00631-0100" role="ERROR" diagnostics="BT-631-Lot" test="(cac:ParticipationInvitationPeriod/cbc:StartDate/xs:date(text()) > ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:InterestExpressionReceptionPeriod/cbc:EndDate/xs:date(text())) or not(cac:ParticipationInvitationPeriod/cbc:StartDate) or not(ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:InterestExpressionReceptionPeriod/cbc:EndDate)">rule|text|BR-BT-00631-0100</assert> |
65 | | - <assert id="BR-BT-01311-0150" role="ERROR" diagnostics="ND-LotTenderingProcess_BT-1311_d_-Lot" test="(cac:ParticipationRequestReceptionPeriod/cbc:EndDate/xs:date(text()) = ../cac:ProcurementProject/cac:PlannedPeriod/cbc:EndDate/xs:date(text())) or not((cac:ContractingSystem/cbc:ContractingSystemTypeCode[@listName='dps-usage']/normalize-space(text()) = ('dps-list','dps-nlist')) and (../cac:ProcurementProject/cac:PlannedPeriod/cbc:EndDate) and (cac:ParticipationRequestReceptionPeriod/cbc:EndDate))">rule|text|BR-BT-01311-0150</assert> |
66 | 65 | <assert id="BR-BT-01311-0152" role="ERROR" diagnostics="ND-LotTenderingProcess_BT-1311_d_-Lot" test="((cac:ParticipationRequestReceptionPeriod/cbc:EndDate/xs:date(text()) < cac:InvitationSubmissionPeriod/cbc:StartDate/xs:date(text()))) or not((cac:ParticipationRequestReceptionPeriod/cbc:EndDate) and (cac:InvitationSubmissionPeriod/cbc:StartDate))">rule|text|BR-BT-01311-0152</assert> |
67 | 66 | <assert id="BR-BT-01311-0153" role="ERROR" diagnostics="ND-LotTenderingProcess_BT-1311_d_-Lot" test="(cac:AdditionalInformationRequestPeriod/cbc:EndDate/xs:date(text()) <= cac:ParticipationRequestReceptionPeriod/cbc:EndDate/xs:date(text())) or not((cac:ParticipationRequestReceptionPeriod/cbc:EndDate) and (cac:AdditionalInformationRequestPeriod/cbc:EndDate))">rule|text|BR-BT-01311-0153</assert> |
68 | 67 | </rule> |
|
82 | 81 | <assert id="BR-BT-00634-0151" role="ERROR" diagnostics="BT-634-Lot" test="((efbc:ProcedureRelaunchIndicator = true()) and ((../../../../../../ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:LotResult/cbc:TenderResultCode/normalize-space(text()) = 'clos-nw') or (../../../../../../ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Changes/efac:ChangeReason/cbc:ReasonCode/normalize-space(text()) = 'cancel'))) or not(efbc:ProcedureRelaunchIndicator = true())">rule|text|BR-BT-00634-0151</assert> |
83 | 82 | </rule> |
84 | 83 | <rule context="/*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingProcess/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:InterestExpressionReceptionPeriod"> |
85 | | - <assert id="BR-BT-00630-0150" role="ERROR" diagnostics="BT-630_d_-Lot" test="(cbc:EndDate/xs:date(text()) > ../../../../../../../cbc:IssueDate/xs:date(text())) or not((cbc:EndDate) and (../../../../../../../cbc:IssueDate))">rule|text|BR-BT-00630-0150</assert> |
| 84 | + <assert id="BR-BT-00630-0150" role="ERROR" diagnostics="BT-630_d_-Lot" test="(cbc:EndDate/xs:date(text()) > ../../../../../../../cbc:IssueDate/xs:date(text())) or not((cbc:EndDate) and (../../../../../../../cbc:IssueDate) and (not(../../../../../../../ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Changes/efbc:ChangedNoticeIdentifier)))">rule|text|BR-BT-00630-0150</assert> |
86 | 85 | </rule> |
87 | 86 | <rule context="/*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms"> |
88 | 87 | <assert id="BR-OPT-00301-1400" role="ERROR" diagnostics="OPT-301-Lot-AddInfo" test="(((cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID) or (cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID))) or not(cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00301-1400</assert> |
|
323 | 322 | <assert id="BR-BT-01501-0107" role="ERROR" diagnostics="ND-ContractModification_BT-1501_s_-Contract" test="count(for $x in efac:Change/efac:ChangedSection/efbc:ChangedSectionIdentifier[fn:matches(normalize-space(./normalize-space(text())), '^CON-\d{4}$')], $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:ContractModification/efac:Change/efac:ChangedSection/efbc:ChangedSectionIdentifier[. = $x] return $y) = 1">rule|text|BR-BT-01501-0107</assert> |
324 | 323 | </rule> |
325 | 324 | <rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult"> |
326 | | - <assert id="BR-BT-00118-0100" role="ERROR" diagnostics="BT-118-NoticeResult" test="((not(efac:GroupFramework/efbc:GroupFrameworkMaximumValueAmount) and ((every $faMaxCurr in (efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount/@currencyID) satisfies $faMaxCurr = efbc:OverallMaximumFrameworkContractsAmount/@currencyID) and (efbc:OverallMaximumFrameworkContractsAmount/number() = sum(efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount)))) or (efac:GroupFramework/efbc:GroupFrameworkMaximumValueAmount) or not(every $faMax in (efac:LotResult/efac:FrameworkAgreementValues/cbc:MaximumValueAmount/@currencyID) satisfies $faMax = efbc:OverallMaximumFrameworkContractsAmount/@currencyID)) or not(efbc:OverallMaximumFrameworkContractsAmount)">rule|text|BR-BT-00118-0100</assert> |
327 | 325 | <assert id="BR-BT-01118-0100" role="ERROR" diagnostics="BT-1118-NoticeResult" test="((not(efac:GroupFramework/efbc:GroupFrameworkReestimatedValueAmount) and ((every $faEstCurr in (efac:LotResult/efac:FrameworkAgreementValues/efbc:ReestimatedValueAmount/@currencyID) satisfies $faEstCurr = efbc:OverallApproximateFrameworkContractsAmount/@currencyID) and (efbc:OverallApproximateFrameworkContractsAmount/number() = sum(efac:LotResult/efac:FrameworkAgreementValues/efbc:ReestimatedValueAmount)))) or (efac:GroupFramework/efbc:GroupFrameworkReestimatedValueAmount) or not(every $faEst in (efac:LotResult/efac:FrameworkAgreementValues/efbc:ReestimatedValueAmount/@currencyID) satisfies $faEst = efbc:OverallApproximateFrameworkContractsAmount/@currencyID)) or not(efbc:OverallApproximateFrameworkContractsAmount)">rule|text|BR-BT-01118-0100</assert> |
328 | 326 | </rule> |
329 | 327 | <rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:FieldsPrivacy[efbc:FieldIdentifierCode/text()='not-app-val']"> |
|
0 commit comments