I need some clarification regarding Schema & Schematron validation of ESPD requests.
When a user uploads an existing ESPD Request/Response to the ESPD service, is the ESPD Service doing any schema validation for such uploads. I tried to upload a invalid espd request according to schema and got no error or warning.
Generated ESPD request from Espd Service tool are failing Schematron Validation of ESPD EDM. I generated a ESPD request. Downloaded the XML and tried to Test it with ISA ITB tool for ESPD validation(at http://isaitb2.northeurope.cloudapp.azure.com/espd/upload ) and got the following error :
There are more EXCLUSION Criterias than expected
Test:( count($TypeCodeExclusion[not(.=following::cbc:TypeCode)]) > 24)
The element 'espd-req:ESPDRequest / cbc:ContractFolderID' is mandatory
Test:( not(string(cbc:ContractFolderID))=false() )
The value must be 'urn:www.cenbii.eu:transaction:biitrns070:ver3.0'
Test:( string(.)!='urn:www.cenbii.eu:transaction:biitrns070:ver3.0' )
I need some clarification regarding Schema & Schematron validation of ESPD requests.
When a user uploads an existing ESPD Request/Response to the ESPD service, is the ESPD Service doing any schema validation for such uploads. I tried to upload a invalid espd request according to schema and got no error or warning.
Generated ESPD request from Espd Service tool are failing Schematron Validation of ESPD EDM. I generated a ESPD request. Downloaded the XML and tried to Test it with ISA ITB tool for ESPD validation(at http://isaitb2.northeurope.cloudapp.azure.com/espd/upload ) and got the following error :
Please find attached the test files.
Regards, Abhiroop
espd_requests.zip