Thread: RE: [Quickfix-developers] "Invalid tag number" error for proprietary field
Brought to you by:
orenmnero
From: Yihu F. <Yih...@re...> - 2005-02-16 15:06:58
|
Hi, =20 If you always want to pass through user defined fields without using data dictionary for validation, change the line 154 of DataDictionary.cpp of QuickFIX 1.9.4 as following =20 154c154 < if ( m_beginString.getValue().length() && field.getField() < FIELD::UserMin) --- > if ( m_beginString.getValue().length() ) =20 Regards, =20 -Yihu =20 =20 =20 _____ =20 From: qui...@li... [mailto:qui...@li...] On Behalf Of Dave Linaker Sent: Wednesday, February 16, 2005 9:29 AM To: 'Alvin Wang'; qui...@li... Subject: RE: [Quickfix-developers] "Invalid tag number" error for proprietary field =20 Hi Alvin, =20 You need to add the user defined tag (i.e.6602) to your DataDictionary. Remember to add the definition for field and message. =20 See http://www.quickfixengine.org/quickfix/doc/html/xmlschema.html =20 Kind regards =20 =20 Dave -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Alvin Wang Sent: 16 February 2005 14:22 To: qui...@li... Subject: [Quickfix-developers] "Invalid tag number" error for proprietary field Hi All, A incoming FIX msg from counterparty contains their proprietary tag (6602). QF rejected the message as below:=20 (Message 107 Rejected: Invalid tag number:6602) I use dictionary for repeating group. I wonder if this is related to the rejection? How to fix the problem? Thanks a lot! Alvin =09 =09 ********************************************************************** This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and confidential. Disclosure to anyone other than the intended recipient is prohibited. If you are not the intended recipient, please do not disseminate, distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail (including the original message with your reply) and then delete and discard all copies of the message. We have taken precautions to minimize the risk of transmitting software viruses but nevertheless advise you to carry out your own virus checks on any attachment to this message. We accept no liability for any loss or damage caused by software viruses. **********************************************************************=20 ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. |
From: Yihu F. <Yih...@re...> - 2005-02-16 15:24:44
|
If we are going to have a configuration option to turn on and off validatio= n of user defined field, it would be perfect. But until then, this is your short term solution. Thanks, -Yihu -----Original Message----- From: Joerg Thoennes [mailto:Joe...@ma...]=20 Sent: Wednesday, February 16, 2005 10:15 AM To: Yihu Fang Cc: dav...@ma...; Alvin Wang; qui...@li...urceforg= e.net Subject: Re: [Quickfix-developers] "Invalid tag number" error for proprieta= ry field > If you always want to pass through user defined fields without using > data dictionary for validation, change the line 154 of > DataDictionary.cpp of QuickFIX 1.9.4 as following >=20 > 154c154 > < if ( m_beginString.getValue().length() && field.getField() < > FIELD::UserMin) Instead of changing the code this could get a configuration option, e.g. ValidateUserDefinedFields=3DY (default) ValidateUserDefinedMessages=3DY (default) I wonder what Oren thinks about this. Cheers, J=F6rg --=20 Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. |
From: Oren M. <or...@qu...> - 2005-03-31 16:17:35
|
I've checked in an implementation with a ValidateUserDefinedFields configuration property. It should show up in the public repository later today. --oren ----- Original Message ----- From: "Yihu Fang" <Yih...@re...> To: "Joerg Thoennes" <Joe...@ma...> Cc: <dav...@ma...>; "Alvin Wang" <AW...@FF...>; <qui...@li...> Sent: Wednesday, February 16, 2005 9:19 AM Subject: RE: [Quickfix-developers] "Invalid tag number" error for proprietary field QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ QuickFIX Support: http://www.quickfixengine.org/services.html If we are going to have a configuration option to turn on and off validation of user defined field, it would be perfect. But until then, this is your short term solution. Thanks, -Yihu -----Original Message----- From: Joerg Thoennes [mailto:Joe...@ma...] Sent: Wednesday, February 16, 2005 10:15 AM To: Yihu Fang Cc: dav...@ma...; Alvin Wang; qui...@li... Subject: Re: [Quickfix-developers] "Invalid tag number" error for proprietary field > If you always want to pass through user defined fields without using > data dictionary for validation, change the line 154 of > DataDictionary.cpp of QuickFIX 1.9.4 as following > > 154c154 > < if ( m_beginString.getValue().length() && field.getField() < > FIELD::UserMin) Instead of changing the code this could get a configuration option, e.g. ValidateUserDefinedFields=Y (default) ValidateUserDefinedMessages=Y (default) I wonder what Oren thinks about this. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Joerg T. <Joe...@ma...> - 2005-02-16 15:14:54
|
> If you always want to pass through user defined fields without using > data dictionary for validation, change the line 154 of > DataDictionary.cpp of QuickFIX 1.9.4 as following > > 154c154 > < if ( m_beginString.getValue().length() && field.getField() < > FIELD::UserMin) Instead of changing the code this could get a configuration option, e.g. ValidateUserDefinedFields=Y (default) ValidateUserDefinedMessages=Y (default) I wonder what Oren thinks about this. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |