Skip to content

Commit 2a6d284

Browse files
committed
Better distinction between encoding type and field #35 #31 #44
1 parent e34e292 commit 2a6d284

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

v2-0-RC1/doc/02FieldEncoding.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,10 @@ integer values by setting exponent to zero.
385385
</composite>
386386
```
387387

388-
Field inherits semanticType from encoding
388+
A field uses the encoding and adds semanticType.
389389

390390
```xml
391-
<field type="intQty32" name="OrderQty" id="38"
391+
<field type="intQty32" name="OrderQty" id="38" semanticType="Qty"
392392
description="Total number of shares" />
393393
```
394394

@@ -507,7 +507,7 @@ control character (code 0).
507507
This is the standard encoding for char type.
508508

509509
```xml
510-
<type name="char" primitiveType="char"/>
510+
<type name="charType" primitiveType="char"/>
511511
```
512512

513513
Wire format of char encoding of "A" (ASCII value 65, hexadecimal 41)
@@ -861,7 +861,7 @@ Enumeration of time units:
861861
Timestamp with variable time units:
862862

863863
```xml
864-
<composite name="UTCTimestamp" description="UTC timestamp with precision on the wire" semanticType="UTCTimestamp" >
864+
<composite name="UTCTimestamp" description="UTC timestamp with precision on the wire">
865865
<type name="time" primitiveType="uint64" />
866866
<type name="unit" primitiveType="uint8" />
867867
</composite>
@@ -956,7 +956,7 @@ time at the market instead of UTC time.
956956
The standard encoding specification for LocalMktDate
957957

958958
```xml
959-
<type name="localMktDate" primitiveType="uint16" semanticType="LocalMktDate" />
959+
<type name="localMktDate" primitiveType="uint16"/>
960960
```
961961

962962
Local time encoding

v2-0-RC1/doc/03MessageStructure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ any repeating groups or variable-length fields.
454454

455455
The number of entries in this repeating group, called NumInGroup in FIX.
456456

457-
##### Number of repeating groups
457+
#### Number of repeating groups
458458

459459
A count nested repeating groups in this repeating group.
460460

@@ -473,7 +473,7 @@ The occurrences of a repeating group may be restricted to a specific range by mo
473473
Example of a restricted group encoding
474474

475475
```xml
476-
<type name="numInGroup" primitiveType="uint16" semanticType="NumInGroup" minValue="1" maxValue="10" />
476+
<type name="numInGroup" primitiveType="uint16" minValue="1" maxValue="10" />
477477
```
478478

479479
Sequence of message body elements

v2-0-RC1/doc/04MessageSchema.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,10 @@ above.
493493

494494
```xml
495495
<composite name="groupSizeEncoding">
496-
<type name="blockLength" primitiveType="uint16"/>
497-
<type name="numInGroup" primitiveType="uint16"
498-
semanticType="NumInGroup"/>
496+
<type name="blockLength" primitiveType="uint16"/>
497+
<type name="numInGroup" primitiveType="uint16"/>
498+
<type name="numGroups" primitiveType="uint16" />
499+
<type name="numVarDataFields" primitiveType="uint16" />
499500
</composite>
500501

501502
<group name="Parties" id="1012" >

0 commit comments

Comments
 (0)