[This message was posted by Naresh Maharaj of Instinet Europe plc 
<[email protected]> to the "FAST Protocol" discussion forum at 
http://fixprotocol.org/discuss/46. You can reply to it on-line at 
http://fixprotocol.org/discuss/read/1adb9631 - PLEASE DO NOT REPLY BY MAIL.]

Hi Dave

>From the fragment of the single message below also in my first post, 

08 CD 76 C0 E4 53 57 58 47 52 4F 55 50 2D 4D 44 ..v..SWXGROUP-MD
49 2E 50 30 B1 01 17 8D 32 30 30 39 31 30 32 38 I.P0....20091028
2D 30 35 3A 31 31 3A 30 35 2E 38 34 B9 81 43 5A -05:11:05.84..CZ
30 30 30 31 30 30 30 37 34 B9 81 5B C0 B2 00 5C 000100074..[...\ 

I am sure that my application should be reading the byte 0x81 on the 4th line 
as the length of the sequence.

The problem is the pmap-bit relating to 0x81 is false. Hence I look into the 
dictionary.

I have broken down the message in the first post.

Do you think that I am reading the pmap incorrectly. There must be something I 
am overlooking.

This is a single message so there is no prev data in the dictionary.
Open fast processes it correctly.

Naresh

> Hi Naresh,
> 
> > > Is it possible to have a sequence as below where the pmap bit is set
> > > to false for the length of the sequence.
> > >
> > > [sequence name="MDEntries"] [typeRef name="MDIncGrp"/] [length
> > > name="NoMDEntries" id="268"] [copy/] [/length] [string
> > > name="MDUpdateAction" id="279"] [copy value="0"/] [/string] [!-- 0:
> > > New --] ....
> > >
> > > The field [length name="NoMDEntries" id="268"] [copy/] [/length]
> > >
> > > has a false in the pmap bit
> > >
> > > Therefore am not sure who many times to iterate through the sequence
> > >
> 
> The pmap bit associated with a segment applies to the length field of
> the segment. This pmap bit tells you whether the length appears on-the-
> wire. What it means when the length does not appear on-the-wire is
> determined by the operator associated with the length field.
> 
> In your case the length field of the sequence has a copy operator. The
> zero pmap bit is telling you that the sequence length does not appear
> on-the-wire. Instead you should re-use the previous length value from
> the appropriate dictionary.
> 
> Dale
> --
> Dale Wilson Principal Software Engineer Object Computing, Inc.
> (www.ociweb.com) Lead developer for QuickFAST (http:www.quickfast.org)


[You can unsubscribe from this discussion group by sending a message to 
mailto:[email protected]]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Financial Information eXchange" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fix-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to