Skip to content

Changes

Summary

  1. add XercesValidator (#1257) (details)
Commit 661db6744c9fffacc14c395cd6d2b7bc51ec9ef4 by palanisamy arunkumar
add XercesValidator (#1257)

* add XercesValidator

* add validation tests

* add ssp schema

* use absolute path to schema location

* print full file path for error reporting

* add_compile_definitions "SCHEMA_ROOT"

* add schema/CMakeLists.txt

* add module whereami.c to get the executable path

* Trigger build

* fix docker image for alpine

* add linux-headers for alpine/Dockerfile

* use wai_getModulePath to locate the schema

* do not free the path

* add getExecutablePath()

* report as logWarning

* expected output

* update tests

* expected output

* fix typos

* set separate working directory for random failing tests
The file was addedschema/ssp/SystemStructureParameterMapping.xsd
The file was addedschema/ssp/SystemStructureCommon.xsd
The file was addedschema/ssp/SystemStructureSignalDictionary.xsd
The file was addedtestsuite/resources/invalidSSP/SystemStructure.ssd
The file was modified testsuite/api/reduceSSV.py (diff)
The file was modified CMakeLists.txt (diff)
The file was addedschema/ssp/SystemStructureParameterValues.xsd
The file was modified testsuite/simulation/importStartValues1.lua (diff)
The file was modified testsuite/api/reduceSSV.lua (diff)
The file was modified testsuite/AircraftVehicleDemonstrator/embrace.py (diff)
The file was modified testsuite/resources/Makefile (diff)
The file was addedsrc/OMSimulatorLib/XercesValidator.cpp
The file was addedtestsuite/resources/invalidSSP/resources/System1.ssv
The file was addedtestsuite/validate/Makefile
The file was modified testsuite/resources/CMakeLists.txt (diff)
The file was addedtestsuite/resources/invalidSSP/resources/signalFilter.xml
The file was addedtestsuite/validate/validateSSP.py
The file was addedsrc/OMSimulatorLib/whereami.c
The file was addedtestsuite/resources/invalidSSP/resources/Root.ssv
The file was addedschema/ssp/SystemStructureDescription.xsd
The file was addedschema/CMakeLists.txt
The file was addedschema/ssp/SystemStructureDescription11.xsd
The file was modified src/OMSimulatorLib/CMakeLists.txt (diff)
The file was modified testsuite/simulation/PI_Controller.lua (diff)
The file was addedsrc/OMSimulatorLib/XercesValidator.h
The file was modified src/OMSimulatorLib/Scope.cpp (diff)
The file was modified testsuite/AircraftVehicleDemonstrator/embrace_test2Conf.py (diff)
The file was modified .CI/alpine/Dockerfile (diff)
The file was addedsrc/OMSimulatorLib/whereami.h