xpcc icon indicating copy to clipboard operation
xpcc copied to clipboard

System_Design: All names should be small

Open georgi-g opened this issue 10 years ago • 1 comments

In our xml files name parts must be separated by spaces. During generating code the casing is ignored, but it is partially restricted in xml. see check_name in utils.py

For avoiding confusion and enforce cleaness the names used in xml should be even more restricted.

My suggestion: all names should be written in small, where name parts are separated by spaces.

Small bug in current implementation: names must not start with digits, which passes through the current regular expression.

Hint: The check removed in enum elements in da3f72a12406b3051ecab4790ad7cda4725164f4 does not allow numbers e.g. "line 1", but this should be allowed.

georgi-g avatar Feb 15 '15 21:02 georgi-g

I support this. Now also officially.

salkinium avatar Feb 16 '15 23:02 salkinium