You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -251,7 +246,7 @@ In this example, a futuresPrice is encoded as 64-bit integer mantissa, 8-bit ex
251
246
252
247
**Reference to a composite type**
253
248
254
-
In this example, a nested composite is formed by using a reference to another composite type. It supports the expresson of a monetary amount with its currency, such as USD150.45. Note that a reference may carry an offset within the composite encoding that contains it.
249
+
In this example, a nested composite is formed by using a reference to another composite type. It supports the expression of a monetary amount with its currency, such as USD 150.45. Note that a reference may carry an offset within the composite encoding that contains it.
255
250
256
251
```xml
257
252
<compositename="price">
@@ -419,13 +414,13 @@ that they are encoded on the wire.
419
414
| id | Unique message template identifier | unsignedInt | required | Must be unique within a schema |
| blockLength | Reserved size in number of octets for root level of message body | unsignedInt | optional | If specified, must be greater than or equal to the sum of field lengths. |
422
-
| semanticType | Documents value of FIX MsgTypefor a message | token | optional | Listed in FIX specifications |
417
+
| semanticType | Documents value of FIX MsgType(35) field for a message | token | optional | Listed in FIX specifications |
423
418
| sinceVersion | Documents the version of a schema in which a message was added | nonNegativeInteger | default = 0 ||
424
419
| deprecated | Documents the version of a schema in which a message was deprecated. It should no longer be sent but is documented for back-compatibility. | nonnegativeInteger | optional | Must be less than or equal to the version of the message schema. |
425
420
426
421
Note that there need not be a one-to-one relationship between message
427
422
template (identified by `id` attribute) and `semanticType` attribute. You
428
-
might design multiple templates for the same FIX MsgType to optimize
423
+
might design multiple templates for the same FIX MsgType(35) value to optimize
429
424
different scenarios.
430
425
431
426
Example `<message>` element
@@ -444,7 +439,7 @@ These are the common attributes of all field types.
444
439
| Schema attribute | Description | XML type | Usage | Valid values |
| type | Encoding type name, one of simple type, composite type or enumeration. | string | required | Must match the name attribute of a simple `<type>`, `<composite>` encoding type, `<enum>` or `<set>`. |
450
445
| offset | Offset to the start of the field within a message or repeating group entry. By default, the offset is the sum of preceding field sizes, but it may be increased to effect byte alignment. | unsignedInt | optional | Must be greater than or equal to the sum of preceding field sizes. |
@@ -461,12 +456,10 @@ Field that uses a composite encoding
Copy file name to clipboardExpand all lines: v1-0-STANDARD/doc/05SchemaExtensionMechanism.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ If the *received version is greater than the decoder's version* (that is, the pr
114
114
115
115
Also, an old decoder may encounter unexpected enumeration values. The application layer determines whether an unexpected value is a fatal error. Probably so for a required field since the business meaning is unknown, but it may choose to allow an unknown value of an optional field to pass through. For example, if OrdType(40)=J (Market If Touched (MIT)) is added to a schema, and the consumer does not recognize it, then the application returns an order rejection with reason "order type not supported", even if it does not know what "J" represents. Note that this is not strictly a versioning problem, however. This exception handling is indistinguishable from the case where "J" was never added to the enum but was simply sent in error.
116
116
117
-
If the *received version is less than the decoder's version* (that is, the producer's encoder is older than the consumer's decoder), then only the fields of the older version may be parsed. This information is available through metadata as "sinceVersion" attribute of a field. If sinceVersion is greater than received schema version, then the field is not available. How a decoder signals an application that a field is unavailable is an implementation detail. One strategy is for an application to provide a default value for unavailable fields.
117
+
If the *received version is less than the decoder's version* (that is, the producer's encoder is older than the consumer's decoder), then only the fields of the older version may be parsed. This information is available through metadata as sinceVersion attribute of a field. If sinceVersion is greater than received schema version, then the field is not available. How a decoder signals an application that a field is unavailable is an implementation detail. One strategy is for an application to provide a default value for unavailable fields.
0 commit comments