[This message was posted by douglas young of RTTT <[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/9b951d2c - 
PLEASE DO NOT REPLY BY MAIL.]

Test 1 ok:
1128=8 35=R 49=CME 34=3 146=1 38=100 

Test2 error:
1128=8 35=R 49=CME 34=3 146=1 55=[N/A] 38=100 22=8 

Template: (Replate ()  with <>)
(template name="QuoteRequest" id="47" dictionary="47" 
xmlns="http://www.fixprotocol.org/ns/fast/td/1.1";)
  (string name="ApplVerID" id="1128")
    (constant value="8" /)
  (/string)
  (string name="MessageType" id="35")
    (constant value="R" /)
  (/string)
  (string name="SenderCompID" id="49")
    (constant value="CME" /)
  (/string)
  (uInt32 name="MsgSeqNum" id="34" /)
  (sequence name="RelatedSym")
    (length name="NoRelatedSym" id="146" /)
    (string name="Symbol" id="55")
      (constant value="[N/A]" /)
    (/string)
    (uInt64 name="OrderQty" id="38" presence="optional" /)
    (uInt32 name="SecurityIDSource" id="22")
      (constant value="8" /)
    (/uInt32)
  (/sequence)
(/template)



> Douglas,
> 
> Could you provide some more context?
> 
> Best, Rolf
> 
> > I try to encode a message and it keep give the error. The problem is
> > came from "constant" in side of a "sequence". (146 is sequence length,
> > 55 and 8 are constant in side of sequence)
> >
> > "Error occurred on line #1: Parsed 3 groups in sequence when 1 were
> > expected. [line: 1128=8 35=R 49=CME 34=3 146=1 55=[N/A] 38=100 22=8]:
> > Parsed 3 groups in sequence when 1 were expected."
> >
> > Message give error:
> > 1128=8 35=R 49=CME 34=3 146=1 55=[N/A] 38=100 22=8 
> >
> > Message ok: 1128=8 35=R 49=CME 34=3 146=1 38=100 
> >
> >
> > http://www.fixprotocol.org/ns/fast/td/1.1";>


[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