Re: [Quickfix-developers] QuickFIX bug.
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-04-07 18:07:51
|
> I have discovered a bug in QuickFIX when dealing > with the 355 tag in the > Email message. I am working with a vendor who has > chosen to embed Custom > FIX tags within the 355 block of an email message. > QuickFIX does not > parse this message correctly at all. QuickFIX does not yet fully support DATA fields (it treats them like normal strings, as you have observed). So this is new functionality that needs to be added. > The other bug I have found has to do with the way > the BodyLength is > calculated. The message I receive from this vendor > has a tag that is > repeated, once outside of a repeating group, and > once within. QuickFIX > incorrectly calculates the body length by only > counting this repeated > tag once, and thus rejects the message outright. Can you provide the message (or a similar one, with the data changed), so we can add it to our test suite? > Finally, a question on QuickFIX internals. I have > noticed that there is > a distinct lack of logging within the various > components that make up > QuickFIX. For example, when a message is rejected > due to a bad > BodyLength or Checksum QuickFIX prints no error > messages at all? Another > example would be in parsing the XML file for > validation, if there is an > error in the XML it prints an error, but not the tag > that caused it, > making diagnosis of the problem much more difficult. > Is there any reason > for this? Is there a canonical way to log from > within other QuickFIX > modules that I could use to log these errors? This depends on what version you are using. Earlier versions had no significant logging at all. In the newer releases it has gotten pretty good. You should look at the Log and LogFactory interface. Implementations that come with QF are the ScreenLogFactory, FileLogFactory, and MySQLLogFactory. The LogFactory is an optional interface that is passed in to the initiator and acceptor. If you do not pass one in, you will get no logging. There is no reason that messages are at their current detail level. Patches that improve on error messages are welcome. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |