Merged in NRRPLT-8011 (pull request #113)
[NRRPLT-8011] Added xsd validation to the .exc - The new xsd validator checks whether the ExDConfFile.xsd exists, if not throws a warning - If .xsd exists parses the .exc based on the xsd schema - Throws a warning if .exc is malformed. Intentionally does not stop the parsing as small errors in the .exc can be ignored instead of breaking the entire simulation. Approved-by: Ugo Albanese Approved-by: Stefano Nardo
Showing
- .ci/bitbucket_api_get.bash 7 additions, 0 deletions.ci/bitbucket_api_get.bash
- .ci/build.bash 10 additions, 0 deletions.ci/build.bash
- Jenkinsfile 4 additions, 3 deletionsJenkinsfile
- package.json 4 additions, 4 deletionspackage.json
- proxy/TemplateExperimentsService.ts 15 additions, 2 deletionsproxy/TemplateExperimentsService.ts
- test/data/experiments/malformedExc/experiment1/ExDMalformed.exc 20 additions, 0 deletions...ata/experiments/malformedExc/experiment1/ExDMalformed.exc
- test/data/experiments/malformedExc/experiment1/ExDTemplateHusky.3ds 0 additions, 0 deletions...experiments/malformedExc/experiment1/ExDTemplateHusky.3ds
- test/data/experiments/malformedExc/experiment1/braitenberg_husky_linear_twist.py 0 additions, 0 deletions...alformedExc/experiment1/braitenberg_husky_linear_twist.py
- test/data/experiments/malformedExc/experiment1/template_husky.bibi 65 additions, 0 deletions.../experiments/malformedExc/experiment1/template_husky.bibi
- test/data/experiments/malformedExc/experiment1/test.png 0 additions, 0 deletionstest/data/experiments/malformedExc/experiment1/test.png
- test/proxy/TemplateExperimentsServiceSpec.js 44 additions, 0 deletionstest/proxy/TemplateExperimentsServiceSpec.js