quickfast icon indicating copy to clipboard operation
quickfast copied to clipboard

Sequence missing PMap for its entries?

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

I am writing a FAST decoder for Bovespa but it looks like I am missing 
something basic.

The template:

<string name="SecurityExchange" id="207"><constant value="BVMF"/></string>
<sequence name="ApplIDs">
    <length name="NoApplIDs" id="1351"/>
    <string name="ApplID" id="1180"/>
    <sequence name="FeedTypes" presence="optional">
        <length name="NoMDFeedTypes" id="1141"/>
        <string name="MDFeedType" id="1022"/>
        <uInt32 name="MarketDepth" id="264"/>
    </sequence>
</sequence>

The problem:

I read NoApplIDs fine then I start the sequence and assume that for each entry 
there MUST be a PMap. But I don't find the PMap after NoApplIDs. What I find 
instead is the String value for ApplID.

Is it possible for the entry of a sequence NOT to have a PMap? If that's the 
case (weird) how can I tell if the sequence entry has a PMap or not?

Thanks!

-Rebecca


Original issue reported on code.google.com by [email protected] on 25 Sep 2014 at 12:28

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter