Skip to content

Commit e32e3bc

Browse files
authored
Merge pull request #1116 from OP-TED/prepare/1.11.2
Prepare/1.11.2
2 parents 7c3d41c + da0d12e commit e32e3bc

File tree

267 files changed

+17417
-4968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+17417
-4968
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# SDK 1.11.2 Release Notes
2+
3+
This release brings the following corrections in the validation rules, making them more permissive:
4+
5+
* Do not require the organisation identifier (BT-501-Organization-Company) to be unique in the notice.
6+
* Allow the buyer and tenderer organisations to also be a service provider.
7+
8+
This release brings the following corrections in the notice visualisation templates:
9+
10+
* Add back the display of BT-748-Lot for all relevant notice subtypes. It was incorrectly removed in the previous version.
11+
12+
This release also includes updated translations and updated notice visualisation templates.
13+
14+
A comprehensive list of changes between SDK 1.11.1 and SDK 1.11.2 can be seen at <https://github.com/OP-TED/eForms-SDK/compare/1.11.1...1.11.2>
15+
16+
You can explore the changes between those versions at <https://docs.ted.europa.eu/eforms-sdk-explorer?base=1.11.0&version=1.11.1>
17+
118
# SDK 1.11.1 Release Notes
219

320
This release brings the following corrections in the validation rules, making them more permissive:

fields/fields.json

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ublVersion" : "2.3",
3-
"sdkVersion" : "eforms-sdk-1.11.1",
3+
"sdkVersion" : "eforms-sdk-1.11.2",
44
"metadataDatabase" : {
55
"version" : "1.11.0",
66
"createdOn" : "2024-03-25T10:00:00"
@@ -22368,15 +22368,6 @@
2236822368
"value" : true,
2236922369
"severity" : "ERROR"
2237022370
} ]
22371-
},
22372-
"assert" : {
22373-
"value" : "{ND-Root} ${TRUE}",
22374-
"severity" : "ERROR",
22375-
"constraints" : [ {
22376-
"value" : "{BT-501-Organization-Company} ${BT-501-Organization-Company is unique in /BT-501-Organization-Company}",
22377-
"severity" : "ERROR",
22378-
"message" : "rule|text|BR-BT-00501-0259"
22379-
} ]
2238022371
}
2238122372
}, {
2238222373
"id" : "BT-5010-Lot",
@@ -37420,10 +37411,6 @@
3742037411
"value" : "{ND-Root} ${every text:$buyer in OPT-300-Procedure-Buyer satisfies ($buyer in /OPT-200-Organization-Company)}",
3742137412
"severity" : "ERROR",
3742237413
"message" : "rule|text|BR-OPT-00300-0250"
37423-
}, {
37424-
"value" : "{ND-Root} ${every text:$sps in OPT-300-Procedure-SProvider satisfies $sps not in OPT-300-Procedure-Buyer}",
37425-
"severity" : "ERROR",
37426-
"message" : "rule|text|BR-OPT-00300-0254"
3742737414
}, {
3742837415
"value" : "{ND-Root} ${(every text:$tenderer in OPT-300-Tenderer satisfies $tenderer not in OPT-300-Procedure-Buyer) and (every text:$subcont in OPT-301-Tenderer-SubCont satisfies $subcont not in OPT-300-Procedure-Buyer)}",
3742937416
"severity" : "ERROR",
@@ -37558,10 +37545,6 @@
3755837545
"value" : "{ND-TenderingParty} ${every text:$mediator in /OPT-301-Lot-Mediator satisfies $mediator not in OPT-300-Tenderer}",
3755937546
"severity" : "ERROR",
3756037547
"message" : "rule|text|BR-OPT-00300-0256"
37561-
}, {
37562-
"value" : "{ND-TenderingParty} ${every text:$psp in OPT-300-Procedure-SProvider satisfies $psp not in OPT-300-Tenderer}",
37563-
"severity" : "ERROR",
37564-
"message" : "rule|text|BR-OPT-00300-0257"
3756537548
}, {
3756637549
"value" : "{ND-TenderingParty} ${every text:$revOrg in /OPT-301-Lot-ReviewOrg satisfies $revOrg not in OPT-300-Tenderer}",
3756737550
"severity" : "ERROR",

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>eu.europa.ted.eforms</groupId>
55
<artifactId>eforms-sdk</artifactId>
6-
<version>1.11.1</version>
6+
<version>1.11.2</version>
77
<packaging>jar</packaging>
88

99
<name>eForms SDK</name>
@@ -48,7 +48,7 @@
4848

4949
<properties>
5050
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51-
<project.build.outputTimestamp>2024-08-12T09:40:24Z</project.build.outputTimestamp>
51+
<project.build.outputTimestamp>2025-01-22T15:41:02Z</project.build.outputTimestamp>
5252

5353
<sonatype.server.url>s01.oss.sonatype.org</sonatype.server.url>
5454

schematrons/dynamic/validation-stage-5.sch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<assert id="BR-BT-00702-0150" role="ERROR" diagnostics="BT-702_a_-notice" test="(not(cbc:NoticeLanguageCode/normalize-space(text()) = cac:AdditionalNoticeLanguage/cbc:ID/normalize-space(text()))) or not(cac:AdditionalNoticeLanguage/cbc:ID)">rule|text|BR-BT-00702-0150</assert>
1717
<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())) &lt; $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>
1818
<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/normalize-space(text()) satisfies ($buyer = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text()))) or not(cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00300-0250</assert>
19-
<assert id="BR-OPT-00300-0254" role="ERROR" diagnostics="ND-Root_OPT-300-Procedure-Buyer" test="every $sps in cac:ContractingParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($sps = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0254</assert>
2019
<assert id="BR-OPT-00300-0255" role="ERROR" diagnostics="ND-Root_OPT-300-Procedure-Buyer" test="(every $tenderer in ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:TenderingParty/efac:Tenderer/cbc:ID/normalize-space(text()) satisfies not($tenderer = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()))) and (every $subcont in ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:TenderingParty/efac:SubContractor/cbc:ID/normalize-space(text()) satisfies not($subcont = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text())))">rule|text|BR-OPT-00300-0255</assert>
2120
</rule>
2221
<rule context="/*/cac:AdditionalNoticeLanguage/cbc:ID">
@@ -491,7 +490,6 @@
491490
<assert id="BR-OPT-00210-0102" role="ERROR" diagnostics="OPT-210-Tenderer" test="(cbc:ID/normalize-space(text()) = ../efac:LotTender/efac:TenderingParty/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00210-0102</assert>
492491
<assert id="BR-OPT-00300-0253" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="(every $tenderer in efac:Tenderer/cbc:ID/normalize-space(text()) satisfies ($tenderer = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text()))) or not(efac:Tenderer/cbc:ID)">rule|text|BR-OPT-00300-0253</assert>
493492
<assert id="BR-OPT-00300-0256" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $mediator in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AppealTerms/cac:MediationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($mediator = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0256</assert>
494-
<assert id="BR-OPT-00300-0257" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $psp in ../../../../../../cac:ContractingParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($psp = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0257</assert>
495493
<assert id="BR-OPT-00300-0258" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $revOrg in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AppealTerms/cac:AppealReceiverParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($revOrg = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0258</assert>
496494
<assert id="BR-OPT-00300-0259" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $addInfo in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($addInfo = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0259</assert>
497495
<assert id="BR-OPT-00300-0260" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $employ in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:EmploymentLegislationDocumentReference/cac:IssuerParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($employ = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0260</assert>
@@ -544,9 +542,6 @@
544542
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID">
545543
<assert id="BR-OPT-00200-0100" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID[. = $x] return $y) = 1">rule|text|BR-OPT-00200-0100</assert>
546544
</rule>
547-
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyLegalEntity/cbc:CompanyID">
548-
<assert id="BR-BT-00501-0259" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyLegalEntity/cbc:CompanyID[. = $x] return $y) = 1">rule|text|BR-BT-00501-0259</assert>
549-
</rule>
550545
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID">
551546
<assert id="BR-OPT-00201-0100" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID[. = $x] return $y) = 1">rule|text|BR-OPT-00201-0100</assert>
552547
</rule>

schematrons/static/validation-stage-5.sch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<assert id="BR-BT-00702-0150" role="ERROR" diagnostics="BT-702_a_-notice" test="(not(cbc:NoticeLanguageCode/normalize-space(text()) = cac:AdditionalNoticeLanguage/cbc:ID/normalize-space(text()))) or not(cac:AdditionalNoticeLanguage/cbc:ID)">rule|text|BR-BT-00702-0150</assert>
1717
<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())) &lt; $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>
1818
<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/normalize-space(text()) satisfies ($buyer = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text()))) or not(cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00300-0250</assert>
19-
<assert id="BR-OPT-00300-0254" role="ERROR" diagnostics="ND-Root_OPT-300-Procedure-Buyer" test="every $sps in cac:ContractingParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($sps = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0254</assert>
2019
<assert id="BR-OPT-00300-0255" role="ERROR" diagnostics="ND-Root_OPT-300-Procedure-Buyer" test="(every $tenderer in ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:TenderingParty/efac:Tenderer/cbc:ID/normalize-space(text()) satisfies not($tenderer = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()))) and (every $subcont in ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeResult/efac:TenderingParty/efac:SubContractor/cbc:ID/normalize-space(text()) satisfies not($subcont = cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text())))">rule|text|BR-OPT-00300-0255</assert>
2120
</rule>
2221
<rule context="/*/cac:AdditionalNoticeLanguage/cbc:ID">
@@ -491,7 +490,6 @@
491490
<assert id="BR-OPT-00210-0102" role="ERROR" diagnostics="OPT-210-Tenderer" test="(cbc:ID/normalize-space(text()) = ../efac:LotTender/efac:TenderingParty/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00210-0102</assert>
492491
<assert id="BR-OPT-00300-0253" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="(every $tenderer in efac:Tenderer/cbc:ID/normalize-space(text()) satisfies ($tenderer = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text()))) or not(efac:Tenderer/cbc:ID)">rule|text|BR-OPT-00300-0253</assert>
493492
<assert id="BR-OPT-00300-0256" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $mediator in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AppealTerms/cac:MediationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($mediator = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0256</assert>
494-
<assert id="BR-OPT-00300-0257" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $psp in ../../../../../../cac:ContractingParty/cac:Party/cac:ServiceProviderParty/cac:Party/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($psp = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0257</assert>
495493
<assert id="BR-OPT-00300-0258" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $revOrg in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AppealTerms/cac:AppealReceiverParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($revOrg = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0258</assert>
496494
<assert id="BR-OPT-00300-0259" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $addInfo in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($addInfo = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0259</assert>
497495
<assert id="BR-OPT-00300-0260" role="ERROR" diagnostics="ND-TenderingParty_OPT-300-Tenderer" test="every $employ in /*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms/cac:EmploymentLegislationDocumentReference/cac:IssuerParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) satisfies not($employ = efac:Tenderer/cbc:ID/normalize-space(text()))">rule|text|BR-OPT-00300-0260</assert>
@@ -544,9 +542,6 @@
544542
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID">
545543
<assert id="BR-OPT-00200-0100" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID[. = $x] return $y) = 1">rule|text|BR-OPT-00200-0100</assert>
546544
</rule>
547-
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyLegalEntity/cbc:CompanyID">
548-
<assert id="BR-BT-00501-0259" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyLegalEntity/cbc:CompanyID[. = $x] return $y) = 1">rule|text|BR-BT-00501-0259</assert>
549-
</rule>
550545
<rule context="/*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID">
551546
<assert id="BR-OPT-00201-0100" role="ERROR" test="count(for $x in ., $y in /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID[. = $x] return $y) = 1">rule|text|BR-OPT-00201-0100</assert>
552547
</rule>

0 commit comments

Comments
 (0)