Skip to content

Spec enum example is invalid for optionalBoolean #61

@mjpt777

Description

@mjpt777

The following example is in the spec and it does not pass schema validation as presence and nullValue are not allowed on enum:

<enum name="optionalBoolean" encodingType="uint8" presence="optional"
    nullValue="255" semanticType="Boolean">
    <validValue name="false">0</validValue>
    <validValue name="true">1</validValue>
</enum>

https://github.com/FIXTradingCommunity/fix-simple-binary-encoding/blob/master/v1-0-STANDARD/doc/02FieldEncoding.md

It would be helpful if all examples where tested for schema validation and with a reference implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions