Make it clear which attributes are required and which are optional
As an example, take the tunnel record:
- I think
lengthshould be mandatory
- Most people would probably say that the
typeshould also be mandatory
daylightcould probably be optional
However, there is no indication in the standard which of these elements are in fact mandatory.
The real problem is that in the XML Schema, all attributes are marked as optional (attributes are optional by default, and are only required if they have an attribute
use="required" in the schema file). So the XML schema cannot be used to determine if all required attributes are there.
I propose the following:
For OpenDRIVE 1.5, all required attributes should be marked as such in the XML Schema file. That way, xodr files can be more easily checked for correctness.
#2 Updated by Thomas Bleher 3 months ago
- Priority changed from Normal to High
Is a new version of the schema file already available? Just now I had a problem with an OpenDrive file by a supplier, where the
<material> tag didn't contain any
roughness information. From the spec it is unclear which tags are optional and which are required. This really hinders interoperability.