Template ID in XML Template Definition

Imported from previous forum

Hi Guys,

Would it be a good idea to include the integer template id associated with a FAST template in the XML TD, by adding an additional “id” attribute to the template tag ?

For example :

Just to clarify I am referring to the Template ID that ends up going out onto the wire after the presence map.

Thanks,

Darren.

[ original email was from Clive Browning - clive@rapidaddition.com ]
Hi Darren

I agree totally - we are currently working with templates with the C# port (which we released earlier this month) and is a need to map the template name with a template id that is transmitted over the wire.

Clive
Rapid Addition Ltd

Hi Guys,

Would it be a good idea to include the integer template id associated
with a FAST template in the XML TD, by adding an additional “id”
attribute to the template tag ?

For example :

Just to clarify I am referring to the Template ID that ends up going out
onto the wire after the presence map.

Thanks,

Darren.

[ original email was from David Rosenborg - David.Rosenborg@pantor.com ]
Yes, infact it’s already in the upcoming version (0.39) of the TD document. In addition to the template id, it’s possible to use the id attribute on fields to convey information such as FIX tag numbers. This is the current writing:

"8.1 Auxiliary Identifiers

Any component that can have a name can also have an auxiliary identifier. The identifier is specified by the id attribute. This specification does not define any semantics for the use of auxiliary identifiers. Nor does it specify the scope of identifiers. However, a particular communication protocol adapted to FAST may choose to constrain the use of auxiliary identifiers.
For example, when using FIX over FAST, a typical use of auxiliary identifiers would be to specify the FIX tag number on each field. Another possible use of auxiliary identifiers would be to assign static template identifiers to be used in the communication between two parties that do not support dynamic template exchange and identifier assignment.

NOTE: The fact that this specification provides a way to specify auxiliary identifiers in-band does not imply that there cannot be other in-band (through foreign elements or attributes, see the Extensibility section) or out-of-band schemes for mapping auxiliary identifiers to names of components. The id attribute is provided for convenience."

And the changes to corresponding parts of the schema are:

nsName = nameAttr, nsAttr?, idAttr?
templateNsName = nameAttr, templateNsAttr?, idAttr?
idAttr = attribute id { token }

Best regards,
David

Hi Guys,

Would it be a good idea to include the integer template id associated
with a FAST template in the XML TD, by adding an additional “id”
attribute to the template tag ?

For example :

Just to clarify I am referring to the Template ID that ends up going out
onto the wire after the presence map.

Thanks,

Darren.