[QFJ-168] Add repeating group validation in messages Created: 28/Apr/07  Updated: 07/Aug/08  Resolved: 03/Feb/08

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: None
Fix Version/s: 1.3.2

Type: New Feature Priority: Default
Reporter: Toli Kuznets Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Duplicate
is duplicated by QFJ-279 Fields in groups will not be checked. Closed
Relates
is related to QFJ-169 Message parsing fails on messages wit... Closed

 Description   

Seems that Message.validate() method skips the validation of repeating groups. it validates the # of groups, but not the fields inside the group itself.

Would be nice to have the groups be validated.



 Comments   
Comment by Steve Bate [ 10/May/07 ]

To clarify, you want to verify the repeating group field order. Is that right?

Comment by Toli Kuznets [ 10/May/07 ]

Order, and maybe also to make sure that no invalid fields (something that doesn't belong in that particular message group) are present.

Comment by Steve Bate [ 10/May/07 ]

The invalid field issue is a bit tricky because as soon as we see a field that's not part of the group, we assume we are finished with the repeating groups and are starting to parse regular message fields again.

Comment by Toli Kuznets [ 10/May/07 ]

I agree - that's why i linked it to 169, which is exactly what you are describing.
and why i figured that you (steve) would be better equipped to fix both of these since the parsing code is non-trivial

Generated at Sat May 04 16:08:35 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.