[This message was posted by Clive Browning of Rapid Addition Ltd <[email protected]> to the "FIXML" discussion forum at http://fixprotocol.org/discuss/7. You can reply to it on-line at http://fixprotocol.org/discuss/read/11622bfd - PLEASE DO NOT REPLY BY MAIL.]
The "Contra" element / component in FIX has no mandatory fields (count tag = 382). When used in FIXML if no tags are available for the component should the whole "Contra" element be excluded from the FIXML message? Taking this further.. would the sample below be valid.. and how could/should it be converted to FIX tag-value.. there are 3 elements for "Contra" but in tag-value a count of 3 would be invalid as one of the repeating group elements would be empty, which would be invalid... <ns0:ExecRpt xmlns:ns0="http://www.fixprotocol.org/FIXML-5-0" OrdID="1" ID="110" ExecTyp="F" Stat="2" Side="2" Px="13000.0" AvgPx="0.0" ExecID="1" LastPx="1" LastQty="1" LeavesQty="0" CumQty="1" TrdDt="2010-09-23" TxnTm="2010-09-23T22:01:54.754" SettlTyp="4" TradeId="1" SettlDt="2010-09-28"> <ns0:Hdr SID="SID" TID="TID" SeqNum="80" PosDup="N" PosRsnd="N" Snt="2010-09-23T22:01:54.76"/> <ns0:Pty ID="1" Src="D" R="1"/> <ns0:Pty ID="2" Src="D" R="2"/> <ns0:Contra/> <ns0:Contra 375=”SOMEVALUE”/> <ns0:Contra 375=”SOMEVALUEOTHERVALUE”/> <ns0:Instrmt Sym="A" Exch="A"/> <ns0:OrdQty Qty="1"/> </ns0:ExecRpt> Any help appreciated Thanks Clive [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.
