DDSIDL: Cannot handle allowed values with blanks
- Dominant language
- Python
- Stars
- 79
- Forks
- 76
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
vspec2ddsidl cannot handle string literals with included blanks, like below ( a blank after `WITH_`).
This is valid VSS (although not following VSS style guide), so vspec2ddsidl should preferably handle this, by ignoring/escaping so that the value becomes a legal DDSIDL value.
```
MySignal:
datatype: string[]
type: attribute
allowed: ['NO_BLANK', 'WITH_ BLANK', 'SMÖRGÅSTÅRTA']
description: string value with blank
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the vspec2ddsidl handling for allowed string values and reproduce the issue with the VSS example in this report. The work is done when values containing blanks, such as 'WITH_ BLANK', are converted into legal DDSIDL values without breaking the other shown values, including the non-ASCII text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100