[QFJ-280] Improve behavior of parsing out-of-order fields Created: 24/Dec/07 Updated: 15/Jan/08 Resolved: 12/Jan/08 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.2.1 |
Fix Version/s: | 1.3.1 |
Type: | Improvement | Priority: | Default |
Reporter: | CaiQi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
The order of fromString() is parseHeader(),parseBody(dd),parseTrailer(dd). Problem 2: Problem 3: Solution : In parseBody(): In parseTrailer(): |
Comments |
Comment by Steve Bate [ 12/Jan/08 ] |
I've slightly modified the parsing and added some additional test cases. The cases you mention will parse without an exception but the message will be marked as having an invalid structure. If the first 3 headers fields are not correct, that will still result in an immediate exception. |