Re: FIX & FIXML
Mahesh Kumaraguru <>
9 Feb 2006 1:44PM ETHi Booshan,
You can distinguish between FIX and FIXML messages by using the following rules :-
1) FIXML starts with < the arrow brace : the XML tag begin char, FIX messages start with BeginString 8=FIX.X.Y^ where ^ is ASCII SOH char. In a seperate post I have discussed the method used for determining end of a FIX message
http://fixprotocol.org/discuss/read/ea65d469
http://fixprotocol.org/discuss/read/443ad4c9
2) The FIXML message will NOT have SOH delimiter which is used in FIX Tag=Value^ messages; the FIX message would not have < or >.
3.1) FIXML should pass thru all XML validations + FIXML validations.
3.2) FIX message should pass thru header / trailer validations of BeginString, BodyLength, MsgType, CheckSum, for each field in the body of the FIX message apply validations of mandatory / optional, values.
I do not think mixing FIX and FIXML in same session is currently part of FIX specification, though I do not see any reason why this cannot be done.
Regards,
K. Mahesh
+1-203-252-4039
> Hello Forum,
>
> If I need to support both FIX and FIXML, how do I identify if the
> message has Standard Fix message or FIXML message? Appreciate your help.
>
> Thanks Booshan