Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-647

Out of Order Repeating Group Members

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: None
    • 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 :
      20111027-14:48:39: 8=FIXT.1.19=22335=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

      This is the contents from FIX50.xml :

      <message name="MarketDataIncrementalRefresh" msgtype="X" msgcat="app">
      <field name="MDReqID" required="N"/>
      <field name="MDBookType" required="N"/>
      <field name="MDLastIncrementalRefresh" required="N"/>
      <component name="MDIncGrp1" required="Y"/>
      </message>

      <component name="MDIncGrp1">
      <group name="NoMDEntries" required="Y">
      <field name="MDUpdateAction" required="Y"/>
      <field name="MDEntryType" required="N"/>
      <field name="Symbol" required="N"/>
      <field name="CFICode" required="N"/>
      <field name="SettlType" required="N"/>
      <field name="MDEntryPx" required="N"/>
      <field name="MDEntrySize" required="N"/>
      </group>
      </component>

      This is the part of output :

      Validating MarketData
      quickfix.FieldException: Out of order repeating group members, field=270
      at quickfix.Message.parseGroup(Message.java:617)
      at quickfix.Message.parseBody(Message.java:556)
      at quickfix.Message.parse(Message.java:467)

      Please advise how to process the message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jodev Jodev Devassy
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: