Open ujos opened 2 years ago
Questions about CME's message schema should be addressed to their support group. For one, they can tell you which version of the SBE standard it conforms to.
Well... the question is not about CME SBE specification. I mentioned CME SBE to explain how did I find the description
attribute in the semanticAttributes
.
Don't you think that the description
attribute is redundant in semanticAttributes
?
@ujos semanticAttributes
is an attribute group containing description
and semanticType
attributes, so I assume that you want to know the distinction between those two. description
is free-form text for any humanly readable explanation. On the other hand, semanticType
is a little more specific. It was originally conceived to map SBE encoding types to the 20-some traditional FIX datatypes, such as String, UTCtimestamp, Qty, etc.
I mean why did you add the description
attribute in the semanticAttributes
group? Or why didn't you add the description
attribute to some other group like offsetAttributes
?
The problem is if you try adding the semanticAttributes
group to tags like simpleDataType
, that causes the problems because the description
tag inside the semanticAttributes
conflicts with description
in the simpleDataType
.
I understand that you believe that there "description" attribute is defined twice for the same type, causing a conflict. However, I don't see that for "simpleDataType". It has "description" as an attribute, but is does not include "semanticAttributes" attribute group. So "description" is only defined once for that type.
Conversely, "semanticAttributes" is included in "fieldType" and "blockType", which do not independently define "description", so again I do not see a conflict.
Which is not to say that the schema could not be improved. PRs will be considered.
I have a problem using the Visual Studio for CME iLink3 SBE schema editing.
After I've added
semanticAttributes
to thesimpleDataType
,memberDataType
andcompositeDataType
elements, the VS started to complain about the duplicateddescription
attribute. In factsimpleDataType
,memberDataType
andcompositeDataType
have thedescription
attribute andsemanticAttributes
element has it as well.From my point of view the
description
tag is redundant forsemanticAttributes
, but I'm not the XML expert. Probably it is just a bug in the Visual Studio.Attached in the attachment.zip are: