FIXTradingCommunity / fix-orchestra-spec

Technical specification for FIX Orchestra (machine readable rules of engagement)
Other
25 stars 4 forks source link

Repository attributes - expressionLanguage #14

Closed kleihan closed 4 years ago

kleihan commented 4 years ago

Section 3.1.3.1 says "By default, the language for conditional expressions is the Score DSL. (See section below.) However, this may be overridden by setting a value to the attribute expressionLanguage."

Is "expressionLanguage" the actual name of an attribute? It occurs nowhere else in the spec. Should it be set e.g. in a different font to distinguish from normal text?

Issue extends to representation of attributes in general. At the moment they all look like normal text.

donmendelson commented 4 years ago

@kleihan expression language is an attribute

<xs:attribute name="expressionLanguage" type="xs:string" default="Score">
    <xs:annotation>
        <xs:documentation>The syntax of 'expressionType'</xs:documentation>
    </xs:annotation>
</xs:attribute>
kleihan commented 4 years ago

What is your view on using something else than normal text in markdown for attribute names? Same as <datatype>, i.e. expressionLanguage?

donmendelson commented 4 years ago

Will make sure that all attributes are in markdown format for literals.