Open emiltin opened 2 months ago
This has been fixed.
You mean right now? It seems we're missing a test specifically for this, as "" is currently accept. Or @otterdahl would you rather modify the SXL to allow "" as well as null?
From 1.1, the SXL states that the two attribute are unused and should be set to null.
In the RSMP schema files, the AggregatedStatus is defined as part of the core schema, and both string and null are allowed. This makes sense since in earlier SXLs what to send was nto really defined clearly, and the core schema cannot change depending on the SXL.
Adherence to the core schema is checked implicitely by json schema validation. If we want to check that null is used (rather than "") frm SXL 1.1. we should add a test specifically for that.
You mean right now? It seems we're missing a test specifically for this, as "" is currently accept. Or @otterdahl would you rather modify the SXL to allow "" as well as null?
Yes it was fixed yesterday. Should be reflected in the validator on the test controller also
Accoding to the SXL spec, functionalPosition and functionalState are unused and should be set to null in the AggregatedStatus. https://rsmp-nordic.github.io/rsmp_sxl_traffic_lights/1.2.1/sxl_traffic_light_controller.html?highlight=null#aggregated-status
But the ITC-3 instead sets them to empty strings "":