Re: [Quickfix-developers] Validation of required fields in required repeating group
Brought to you by:
orenmnero
From: Joerg T. <Joe...@ma...> - 2005-03-03 10:26:15
|
Yihu Fang wrote: > It seems that QuickFIX does not validate any required fields in a > repeating group. > [...] > > I made the following change in DataDictionary class to allow validation > of required repeating group. A boolean argument is passed to addXMLGroup > method to notify whether the group is a required group, then the map > m_requiredFields is correctly populated by addRequiredField() - similar > to components. It also needs to recursively check all fields including > those in repeating group in the method checkHasRequired(), instead of > using fieldMap.isSetField, a recursive method is called. > > Attached please find the patches for DataDictionary.cpp and > DataDictionary.h for QuickFIX release 1.9.4. A file with a few test > messages is also included. Thanks, Yihu. I added this entry to the BugTracker: http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=65 and attached your files to the bug. Please update if neccessary. 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 |