{"action":"opened","issue":{"url":"https://api.github.com/repos/real-logic/simple-binary-encoding/issues/301","labels_url":"https://api.github.com/repos/real-logic/simple-binary-encoding/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/real-logic/simple-binary-encoding/issues/301/comments","events_url":"https://api.github.com/repos/real-logic/simple-binary-encoding/issues/301/events","html_url":"https://github.com/real-logic/simple-binary-encoding/issues/301","id":112447964,"number":301,"title":"RC3 <data> in repeating group?","user":{"login":"andmer","id":271937,"avatar_url":"https://avatars.githubusercontent.com/u/271937?v=3","gravatar_id":"","url":"https://api.github.com/users/andmer","html_url":"https://github.com/andmer","followers_url":"https://api.github.com/users/andmer/followers","following_url":"https://api.github.com/users/andmer/following{/other_user}","gists_url":"https://api.github.com/users/andmer/gists{/gist_id}","starred_url":"https://api.github.com/users/andmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andmer/subscriptions","organizations_url":"https://api.github.com/users/andmer/orgs","repos_url":"https://api.github.com/users/andmer/repos","events_url":"https://api.github.com/users/andmer/events{/privacy}","received_events_url":"https://api.github.com/users/andmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T19:59:21Z","updated_at":"2015-10-20T19:59:21Z","closed_at":null,"body":"Hi All,\r\n\r\nI'm testing SBE, and I added variable length string data type to perf/resources/sbe/fix-message-samples.xml but am getting the following generating codecs.\r\n\r\n        <composite name=\"varDataEncoding\">\r\n            <type name=\"length\" primitiveType=\"uint8\" />\r\n            <type name=\"varData\" primitiveType=\"uint8\" length=\"0\" characterEncoding=\"UTF-8\" />\r\n        </composite>\r\n\r\n    <message name=\"MarketDataIncrementalRefreshTrades\" id=\"2\" semanticType=\"X\" description=\"Trade\">\r\n        <field name=\"TransactTime\" id=\"60\" type=\"timestamp\" timeUnit=\"nanossecond\"/>\r\n        <field name=\"EventTimeDelta\" id=\"37704\" type=\"uint16\"/>\r\n        <field name=\"MatchEventIndicator\" id=\"5799\" type=\"MatchEventIndicator\"/>\r\n        <group name=\"MdIncGrp\" id=\"268\">\r\n           <data name=\"MDEntryID\" id=\"278\" type=\"varDataEncoding\" />\r\n            <field name=\"TradeId\" id=\"1003\" type=\"uint64\"/>\r\n            <field name=\"SecurityId\" id=\"48\" type=\"uint64\"/>\r\n            <field name=\"MdEntryPx\" id=\"270\" type=\"Decimal64\"/>\r\n            <field name=\"MdEntrySize\" id=\"271\" type=\"IntQty32\"/>\r\n            <field name=\"NumberOfOrders\" id=\"346\" type=\"uint16\"/>\r\n            <field name=\"MdUpdateAction\" id=\"279\" type=\"MDUpdateAction\"/>\r\n            <field name=\"RptSeq\" id=\"83\" type=\"uint8\"/>\r\n            <field name=\"AggressorSide\" id=\"5797\" type=\"Side\"/>\r\n            <field name=\"MdEntryType\" id=\"269\" type=\"MDEntryType\" constant=\"2\"/>\r\n        </group>\r\n    </message>\r\n\r\nERROR: at <message name=\"MarketDataIncrementalRefreshTrades\"> <group name=\"MdIncGrp\"> field node specified after group or data node specified\r\nException in thread \"main\" java.lang.IllegalArgumentException: at <message name=\"MarketDataIncrementalRefreshTrades\"> <group name=\"MdIncGrp\"> field node specified after group or data node specified\r\n\tat uk.co.real_logic.sbe.xml.ErrorHandler.error(ErrorHandler.java:73)\r\n\tat uk.co.real_logic.sbe.xml.XmlSchemaParser.handleError(XmlSchemaParser.java:221)\r\n\tat uk.co.real_logic.sbe.xml.Message.parseFieldsAndGroups(Message.java:187)\r\n\tat uk.co.real_logic.sbe.xml.Message.parseGroupField(Message.java:232)\r\n\tat uk.co.real_logic.sbe.xml.Message.parseFieldsAndGroups(Message.java:175)\r\n\tat uk.co.real_logic.sbe.xml.Message.<init>(Message.java:76)\r\n\tat uk.co.real_logic.sbe.xml.XmlSchemaParser$5.execute(XmlSchemaParser.java:198)\r\n\tat uk.co.real_logic.sbe.xml.XmlSchemaParser.forEach(XmlSchemaParser.java:396)\r\n\tat uk.co.real_logic.sbe.xml.XmlSchemaParser.findMessages(XmlSchemaParser.java:193)\r\n\tat uk.co.real_logic.sbe.xml.XmlSchemaParser.parse(XmlSchemaParser.java:102)\r\n\tat uk.co.real_logic.sbe.SbeTool.parseSchema(SbeTool.java:225)\r\n\tat uk.co.real_logic.sbe.SbeTool.main(SbeTool.java:149)\r\n:generateExampleCodecs FAILED\r\n"}}