Closed lotzmann closed 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.
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:
We can revisit the schematron validation rule and try and get it a bit more flexible. We'll feed-back you the soonest.
This issue has been solved in version 2.1.0 of the ESPD-EDM
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.