Ticket #982 (new Task)
Opened 2 years ago
Add in a schema check after validation has completed succesfully
|Reported by:||rupert||Owned by:||paul|
|Priority:||blocker||Milestone:||V1.2 Questionnaire release|
|Component:||WP6 - CMIP5 Questionnaire||Version:|
I think it would make sense to check that any xml exported from the questionnaire conforms to CIM1.5. At the moment this is assumed as the Translator should be constrained so that it only creates valid CIM1.5. However, this check would pick up any bugs. The Validator that Paul has created already has this functionality so it should not take much to switch it on and produce an internal error if not valid.
So, I suggest that, if the questionnaire instance passes all validation checks then we immediately invoke the Validators CIM1.5 schema checker. Alternatively we could limit this checking to the specific case of someone pressing the submit to cmip5 button.