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
Copy file name to clipboardExpand all lines: v2-0-RC1/doc/02FieldEncoding.md
+26-23Lines changed: 26 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -336,8 +336,8 @@ used to indicate that a field value is null.
336
336
337
337
### Encoding specifications for decimal types
338
338
339
-
Decimal encodings are composite types, consisting of two subfields,
340
-
mantissa and exponent. The exponent may either be serialized on the wire
339
+
Decimal encodings are composite types, consisting of two members, named
340
+
mantissa and exponent. They must be listed in that order in the composite type. The exponent may either be serialized on the wire
341
341
or may be set to constant. A constant exponent is a way to specify an
342
342
assumed number of decimal places.
343
343
@@ -569,11 +569,11 @@ A character array constant specification
569
569
570
570
Variable-length string encoding is used for variable length ASCII
571
571
strings or embedded non-ASCII character data (like EncodedText field). A
572
-
separate length field coveys the size of the field.
572
+
length member conveys the size of the string that follows.
573
573
574
574
On the wire, length immediately precedes the data.
575
575
576
-
The length subfield may not be null, but may be set to zero for an empty
576
+
The length member may not be null, but may be set to zero for an empty
577
577
string. In that case, no space is reserved for the data. No distinction
578
578
is made at an encoding layer between an empty string and a null string.
579
579
Semantics of an empty variable-length string should be specified at an
@@ -606,8 +606,8 @@ If a field is required, both the Length and data fields must be set to a
606
606
### Encoding specifications for variable-length string
607
607
608
608
Variable length string is encoded as a composite type, consisting of a
609
-
length sub field and data subfield. The length attribute of the varData
610
-
element is set to zero in the XML message schema as special value to
609
+
length member and varData member. In the composite specification, they must be listed with those names and in that order. The length attribute of the varData
610
+
member is set to zero in the XML message schema as special value to
611
611
indicate that the character data is of variable length.
612
612
613
613
To map an SBE data field specification to traditional FIX, the field ID
@@ -619,7 +619,7 @@ Encoding specification for variable length data up to 65535 octets
| Length | The length of variable data in octets | primitiveType="uint8" or "uint16" May not hold null value. | 1 or 2 |
703
-
| data | Raw data | Array of octet of size specified in associated Length field. The data field itself should be specified as variable length. primitiveType="uint8" | variable
703
+
| data | Raw data | Array of octet of size specified in associated Length member. The varData member should be specified as variable length. primitiveType="uint8" | variable
704
704
705
705
Optionally, implementations may support any other unsigned integer types
706
706
for length.
@@ -723,7 +723,7 @@ If a field is required, both the Length and data fields must be set to a
723
723
### Encoding specifications for variable-length data
724
724
725
725
Variable length data is encoded as composite type, consisting of a
726
-
length sub field and data subfield.
726
+
length member and varData member. They must be listed with those names and in that order in the composite specification.
727
727
728
728
To map an SBE data field specification to traditional FIX, the field ID
729
729
of a data field is used. Its associated length is implicitly contained
@@ -734,7 +734,7 @@ Encoding specification for variable length data up to 65535 octets
| Field value greater than maxValue | The encoded value exceeds the specified valid range. |
1295
1298
| Null value set for required field | The null value of a data type is invalid for a required field. |
1296
1299
| String contains invalid characters | A String contains non-US-ASCII printable characters or other invalid sequence if a different characterEncoding is specified. |
1297
-
| Required subfields not populated in MonthYear | Year and month must be populated with non-null values, and the month must be in the range 1-12. |
1300
+
| Required members not populated in MonthYear| Year and month must be populated with non-null values, and the month must be in the range 1-12. |
1298
1301
| UTCTimeOnly exceeds day range | The value must not exceed the number of time units in a day, e.g. greater than 86400 seconds. |
1299
-
| TZTimestamp and TZTimeOnly has missing or invalid time zone | The time zone hour and minute offset subfields must correspond to an actual time zone recognized by international standards. |
1302
+
| TZTimestamp and TZTimeOnly has missing or invalid time zone | The time zone hour and minute offset members must correspond to an actual time zone recognized by international standards. |
1300
1303
| Value must match valid value of an enumeration field | A value is invalid if it does not match one of the explicitly listed valid values. |
0 commit comments