Comments (7)
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.
Thanks @donmendelson that makes sense. Is this a new RC3 feature?
from fix-simple-binary-encoding.
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.
Thanks. Is there a complete list of changes from RC2 to RC3 we can work from?
from fix-simple-binary-encoding.
Yes, see Release Notes
from fix-simple-binary-encoding.
So where are the details like the changes to vlaueRef?
from fix-simple-binary-encoding.
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 common
blockType
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)
- Version 2 XML schema proposal HOT 1
- Invalid character in the v2-0-RC3\resources\xsd\sbe-2.0rc3.xsd HOT 1
- Possibly redundant "description" attrubute in the "semanticAttributes" attributeGroup HOT 5
- Decimal number representation for monetary amounts
- Version 2 RC schema does not allow semanticType on encoding types
- Clarify offset and length related types HOT 5
- How extension mechanism is supposed to work when dimension type is unknown? HOT 7
- Improve variadic-length field specification HOT 1
- Why is nullValue not allowed for required field? HOT 4
- Questions about common field attributes HOT 2
- How unique should message member's `id` be? HOT 3
- Why `symbolicName_t` is limited to 64 chars? HOT 3
- Can enum/set be optional? HOT 2
- Question: Forward compatibility between encoder code and schema version HOT 1
- Can `<field>` override presence of its type? HOT 2
- Schema extension mechanism violation
- SBE 2.0 features in 1.0 spec HOT 1
- Should `ref` use custom offset of the referred type?
- Better version constraints
- Ownership
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fix-simple-binary-encoding.