Skip to content

[repository schema] FIXML component types for schema files #257

@rshriver

Description

@rshriver

Orchestra supports an attribute componentType for categories. It is only relevant for the FIXML encoding and has two values, “Message” and “Field”. It is proposed to remove this attribute from Orchestra as well as its type, i.e. CatComponentType.

-<xs:simpleType name="CatComponentType_t">
- <xs:restriction base="xs:string">
-   <xs:enumeration value="Field"/>
-   <xs:enumeration value="Message"/>
-  </xs:restriction>
-</xs:simpleType> 

<xs:complexType name="categoryType">
  <xs:sequence>
    <xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
  </xs:sequence>
  <xs:attribute name="name" type="fixr:Name_t" use="required"/>
  <xs:attribute name="FIXMLFileName" type="fixr:Name_t"/>
- <xs:attribute name="componentType" type="fixr:CatComponentType_t"/>
  <xs:attribute name="section" type="fixr:Name_t" use="required"/>
  <xs:attribute name="includeFile" type="fixr:CatIncludeFile_t"/>
  <xs:attributeGroup ref="fixr:entityAttribGrp"/>
</xs:complexType>

The FIXML-specific XSD schema can contain the necessary values are follows.

<xs:element name="componentType">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Field"/>
      <xs:enumeration value="Message"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

The element componentType from a FIXML encoding namespace orchFixml can then be attached as follows to a category in Orchestra.

<fixr:category name="Indication">
    <fixr:encodings>
        <fixr:encoding standard="FIXML">
+           <orchFixml:componentType>Message</orchFixml:componentType>
        </fixr:encoding>
    </fixr:encodings>
</fixr:field>

Metadata

Metadata

Assignees

No one assigned

    Labels

    ENCODINGSupport for binary and other encoding protocols

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions