[Quickfix-developers] Default validation too aggressive?
Brought to you by:
orenmnero
|
From: Brian M. <bri...@ro...> - 2005-09-06 16:53:23
|
I had an app running without UseDataDictionary=3D false. However, I was
missing messages with repeated tags. The problem occurs inside the
DataDictionary validate call stack. Here's a partial listing of the
iterate method:
=20
void DataDictionary::iterate( const FieldMap& map, const MsgType&
msgType )
{ QF_STACK_PUSH(DataDictionary::iterate)
=20
int lastField =3D 0;
=20
FieldMap::iterator i;
for ( i =3D map.begin(); i !=3D map.end(); ++i )
{
const FieldBase& field =3D i->second;
if( i !=3D map.begin() && (field.getField() =3D=3D lastField) )
throw RepeatedTag( lastField ); =20
=20
=20
note, that with repeated tags, the throw RepeatedTag will get called.
Isn't this a bit harsh not to allow repeated tags when not using a
DataDictionary? Or am I missing something more fundamental?
=20
Thanks
|