Giter Club home page Giter Club logo

Comments (7)

donmendelson avatar donmendelson commented on May 30, 2024

Most of the examples of constants in the specification are encoding types rather than fields, but in RC3, presenceAttributes belongs to both encodedDataType as element <type> and fieldType as element <field>.

When the constant is a value of an enumeration, attribute valueRef can be used to refer to an enum value by name in the form <enum-name>.<valid-value-name>. Using your example, "MDEntryType.TRADE". See section "Constant field of an enumeration value".

Not sure if I answer your question.

from fix-simple-binary-encoding.

mjpt777 avatar mjpt777 commented on May 30, 2024

Thanks @donmendelson that makes sense. Is this a new RC3 feature?

from fix-simple-binary-encoding.

donmendelson avatar donmendelson commented on May 30, 2024

Attribute valueRef was mentioned in RC2, but presence was only allowed in type encoding in that version. Allowing it in <field> with cross-reference to an enum constant should make it more useful.

from fix-simple-binary-encoding.

mjpt777 avatar mjpt777 commented on May 30, 2024

Thanks. Is there a complete list of changes from RC2 to RC3 we can work from?

from fix-simple-binary-encoding.

donmendelson avatar donmendelson commented on May 30, 2024

Yes, see Release Notes

from fix-simple-binary-encoding.

mjpt777 avatar mjpt777 commented on May 30, 2024

So where are the details like the changes to vlaueRef?

from fix-simple-binary-encoding.

donmendelson avatar donmendelson commented on May 30, 2024

Right, the release notes are highlights. Actually, the XSD was considerably refactored for attribute organization, even though elements are the same.

The attributes presence and valueRef were moved to new presenceAttributes group and is now referenced by both encoding and field types, as mentioned above.

Other significant changes:

  • Message and group elements now use commonblockType as a recursive collection of fields and nested groups. This allows variable length <data> elements in repeating groups, as mentioned in release notes.
  • Composite type now can contain an arbitrary collection of simple types, enums and sets, not just simple types. (Your suggestion, I believe.)

from fix-simple-binary-encoding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.