A boolean xddgen configuration behavior allows suppressing the dash character ("-") when it is present instead of substituting it with an underscore ("_"). The default is no, which preserves the past behavior in which a dash is substituted with an underscore.
suppress-dash-in-field-names
no (default) - Dashes are substituted with underscores.
yes - Dashes are eliminated from the file name rather than being substituted.
Example:
You can create a new configuration file and set this feature as desired. When you run xddgen, the ‑std= switch can be used to point to the new configuration file:
Copy the configuration file specified by the xddgen‑std=<dialect> configuration switch. For example, if ‑std=mf, make a copy of the configuration file mf.conf found in the conf directory.
Rename the configuration file copied in step 1.
Add (or change) for setting for suppress-dash-in-field-names: yes
Run xddgen-std=<new_name> replacing <new_name> with the new configuration file name assigned in step 2.