w3c / automotive

W3C Automotive Working Group Specifications
Other
145 stars 68 forks source link

VISS Core&transport - unclear MAY with enumeration #473

Closed Ilmarinen100 closed 1 year ago

Ilmarinen100 commented 1 year ago

The VISSv2 Core and transport spec contain multiple definitions like this:

subscriptionId - string - Value returned by the server to uniquely identify each subscription. The value MAY be an integer or a Universally Unique Identifier (UUID).

This appears to say that the id can alternatively be chosen arbitrarily as long as it is encoded into a string Is that the intended meaning or was a more strict interpretation planned, e.g. the value MUST be either of the following:

UlfBj commented 1 year ago

This appears to say that the id can alternatively be chosen arbitrarily as long as it is encoded into a string

Yes, that is the correct interpretation of the somewhat unclear statement in the spec. This statement will be updated to become clearer.

UlfBj commented 1 year ago

Fixed in PR475