Describe the bug
When exporting a scenario to XML with the OpenScenarioXmlExporterV1_2, then the elements for parameters are wrong.
The parent element is ParameterDeclaration and the child elements are ParameterDeclarations.
Instead the parent element must be ParameterDeclarationsand the child elements must be ParameterDeclaration.
Maybe because ParameterDeclarations is a wrapped list, it needed some manual implementation and was therefore not according to the schema.
Describe the bug When exporting a scenario to XML with the OpenScenarioXmlExporterV1_2, then the elements for parameters are wrong. The parent element is
ParameterDeclaration
and the child elements areParameterDeclarations
. Instead the parent element must beParameterDeclarations
and the child elements must beParameterDeclaration
. Maybe becauseParameterDeclarations
is a wrapped list, it needed some manual implementation and was therefore not according to the schema.See also: https://www.asam.net/static_downloads/ASAM_OpenSCENARIO_V1.2.0_Model_Documentation/modelDocumentation/content/ScenarioDefinition.html
Error is e.g. here (occurs for all places, where
ParameterDeclarations
are defined in the scenario): https://github.com/RA-Consulting-GmbH/openscenario.api.test/blob/6c6d6c43764029033b35987d1b8d69cea3a873f0/cpp/openScenarioLib/generated/v1_2/export/xml/OpenScenarioXmlExporterV1_2.cpp#L1349To Reproduce
Expected behavior xml output contains
ParameterDeclarations
as parent element andParameterDeclaration
as childScreenshots