FIXTradingCommunity / fix-simple-binary-encoding

A FIX standard for binary message encoding
Other
262 stars 69 forks source link

Enum name attribute too restrictive #112

Open peterdsdoyle opened 4 years ago

peterdsdoyle commented 4 years ago

Currently an Enum name is restricted to 'symbolicName'. This can be restrictive for a system that requires encoding of known names Eg. ApplicationId->RET-AD RET-AD could not be encoded as an Enum name and would therefore need to be altered to some other form such as RET_AD, this imposes complexity for upstream and downstream systems to map from/to the 'known' value. [real-logic/simple-binary-encoding/issues/760]

donmendelson commented 4 years ago

The current rule for SBE names is similar to identifier rules in C++:

Other programming languages are similar.

How would it work if SBE allowed hyphen?

A specific proposal would be helpful for discussion.