OP-TED / ESPD-EDM

The European Single Procurement Document enables accelerated processing of preliminary evidence in EU public procurement. The ESPD EDM enables applications to integrate with national ESPD service providers.
http://docs.ted.europa.eu/ESPD-EDM/
European Union Public License 1.2
39 stars 52 forks source link

Schematron error for QUANTITY* and PERCENTAGE response types #191

Closed lotzmann closed 5 years ago

lotzmann commented 5 years ago

According to the EDM, QuantityResponse must be used in the criterion response, when QUANTITY, QUANTITY_INTEGER, QUANTITY_YEAR and PERCENTAGE are declared as response value types. However, the schematrons state that ResponseMesaure should be used, as can be seen e.g. in the following validation error message: The type of answer expected by the contracting authority is 'QUANTITY_INTEGER' ('cac:ResponseValue/cbc:ResponseMeasure' element) - ('cbc:ID' is a5e18e84-b60c-4667-9ca7-139243f5b800). Test:( ($currentDataType = 'QUANTITY_INTEGER') and (cac:ResponseValue/cbc:ResponseMeasure) ) or not($currentDataType = 'QUANTITY_INTEGER').

This needs to be sorted out by correcting the schematrons and improving the EDM.

paulakeen commented 5 years ago

Yes, you're right. This was detected some weeks ago and the correction was applied. Thank you any way for creating the issue and keeping track of the problem.

We'll add this to the configuration matrix and V2.0.3 will implement and document the solution.

daniel-filipe-lobo commented 5 years ago

Has we are developing 2.0.2 and we don't have the budget to just extend the project and have whatever more time to develop a new version, we used this workaround:

d5b6906c-7779-b147-5bbe-fa3c5b8963cb d34e47a8-ed9a-4003-8db8-546e4e1901cd PUBLIC 467564f5-c005-e04f-f5b2-6ac5297fb74b 2012
paulakeen commented 5 years ago

We can revisit the schematron validation rule and try and get it a bit more flexible. We'll feed-back you the soonest.

mireiaBM commented 5 years ago

This issue has been solved in version 2.1.0 of the ESPD-EDM