[QFJ-647] Out of Order Repeating Group Members Created: 27/Oct/11 Updated: 20/Dec/13 Resolved: 20/Dec/13 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | 1.5.1 |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Jodev Devassy | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 1 |
Labels: | None |
Description |
I am trying to validate an incoming market data. This is the piece of code that attempts to validate the message : try { System.out.println("Validating MarketData"); DataDictionary dd = new DataDictionary("FIX50.xml"); dd.setCheckUnorderedGroupFields(false); dd.validate(message); System.out.println("Market data validated"); }catch (Exception e) { e.printStackTrace(); }This is the FIX message : This is the contents from FIX50.xml : <message name="MarketDataIncrementalRefresh" msgtype="X" msgcat="app"> <component name="MDIncGrp1"> This is the part of output : Validating MarketData Please advise how to process the message. |
Comments |
Comment by Jodev Devassy [ 27/Oct/11 ] |
Sorry. I deleted some tags from the FIX message unknowingly. This is a better version of the same : 20111027-14:48:39: 8=FIXT.1.19=22335=X49=Server56=Connection34=2452=20111027-14:10:04.8171021=220203=1268=2279=0269=055=EUR/USD461=RCSXXX63=0270=1.41193271=3000000279=2269=155=EUR/USD461=RCSXXX63=0270=1.41211271=10000000010=209 |
Comment by James Olsen [ 14/Mar/12 ] |
I'm having the same issue via the ValidateUnorderedGroupFields='N' setting. It does not seem to work in 1.5.1. I've read the many related issues and their duplicates that claim this is fixed and that the correct setting to use to turn off out of order group validation is ValidateUnorderedGroupFields='N', however it definitely does not work. |
Comment by Christoph John [ 15/Mar/12 ] |
@Jodev: public static void main( String[] args ) throws Exception { DataDictionary dd = new DataDictionary( "FIX50.xml" ); dd.setCheckUnorderedGroupFields( false ); String messageString = "8=FIXT.1.19=22335=X49=Server56=Connection34=2452=20111027-14:10:04.8171021=2268=2279=0269=055=EUR/USD461=RCSXXX63=0270=1.41193271=3000000279=2269=155=EUR/USD461=RCSXXX63=0270=1.41211271=10000000010=107"; Message message = new Message(); message.fromString( messageString, dd, true ); // double check dd.validate( message ); System.out.println( "validated successfully!"); } @James: |
Comment by Don Rizzo [ 14/Sep/13 ] |
messageString does not contain the FIX delimiters, so validation will always fail. |