RA-Consulting-GmbH / openscenario.api.test

Apache License 2.0
39 stars 12 forks source link

XML export wrong for CustomCommandAction element #204

Closed shankarpatali-stla closed 3 weeks ago

shankarpatali-stla commented 1 year ago

Describe the bug When exporting a scenario to XML with the OpenScenarioXmlExporterV1_2, then the elements for Storyboard/Story/Act/ManeuverGroup/Maneuver/Event/Action/UserDefinedAction/CustomCommandAction are wrong. The content text is added as an attribute. Instead it must be added just as text under CustomCommandAction element.

Refer: https://www.asam.net/static_downloads/ASAM_OpenSCENARIO_V1.2.0_Model_Documentation/modelDocumentation/content/CustomCommandAction.html

To Reproduce Steps to reproduce the behavior:

  1. Parse xosc scenario with CustomCommandAction element
  2. Write xosc scenario with OpenScenarioXmlExporterV1_2
  3. investigate tiny xml output

Expected behavior The content text is added just as text under CustomCommandAction image

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ahege commented 1 year ago

Thank you for your ticket. We will investigate the bug as soon as we can. We are planning a bgfix release for October.

kmfrank commented 3 weeks ago

fixed