Open frl000 opened 3 years ago
Tested on W10.0.17763, command.exe, java jdk 8.222-x64.
Can confirm that the xlmns is an issue. According to the xsd, the correct xlmns is https://open-simulation-platform.com/OspModelDescription/1.0.0
. Many examples in demo-cases
uses the wrong xlmns and parsing those will break during XML validation in e.g. JAXB.
The use of osp-validator
java -jar osp-cli.jar osp-system-structure -file OspModelDescription.xml
requiresxmlns="http://opensimulationplatform.com/MSMI/OSPSystemStructure" version="0.1"
in the xml attributes of OspSystemStructure tu finish succsessfully. But this file is not existent. Using the correct address"xmlns="https://opensimulationplatform.com/xsd/OspModelDescription" version="1.0.0"
ends up in an exeption. This makes it impossible for external XML writers to generate a valid OspSystemStructure.xml or FMU_OspModelDescription.xml resp. Please adjust also the documentation, as it already is done in "https://opensimulationplatform.com/xsd/OspModelDescription-1.0.0-doc/OspModelDescription-1.0.0.html"