Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence missing PMap for its entries? #128

Open
GoogleCodeExporter opened this issue Apr 21, 2015 · 0 comments
Open

Sequence missing PMap for its entries? #128

GoogleCodeExporter opened this issue Apr 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant