Giter Club home page Giter Club logo

fix-sbe-utilities's Introduction

FIX Simple Binary Encoding Utilities

This project contains resources and sample code for FIX Simple Binary Encoding.

orchestra2sbe

This utility generates a Simple Binary Encoding (SBE) message schema from an Orchestra file.

sbe-validator

Validates that an SBE message schema conforms to its XML schema.

License

© Copyright 2016-2020 FIX Protocol Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

fix-sbe-utilities's People

Contributors

david-gibbs-ig avatar dependabot[bot] avatar donmendelson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fix-sbe-utilities's Issues

Unknown node type: name=sbe:type

The SBE tool throws an exception while trying to parse the schema file as in FIX SBE Examples.
The schema file is derived from Orchestra using the FIX SBE Utilities.

Please see https://github.com/IG-Group/ig-orchestrations/tree/FIXAPI-2296

Could this be related to #1 ?

I am using <real-logic.version>1.20.3</real-logic.version> see https://github.com/IG-Group/ig-orchestrations/blob/FIXAPI-2296/ig-us-rfed/sbe/codec/pom.xml

The exception is

Java.lang.IllegalStateException: Unknown node type: name=sbe:type
    at uk.co.real_logic.sbe.xml.CompositeType.processType (CompositeType.java:470)
    at uk.co.real_logic.sbe.xml.CompositeType.<init> (CompositeType.java:84)
    at uk.co.real_logic.sbe.xml.CompositeType.<init> (CompositeType.java:55)
    at uk.co.real_logic.sbe.xml.XmlSchemaParser.lambda$findTypes$1 (XmlSchemaParser.java:200)
    at uk.co.real_logic.sbe.xml.XmlSchemaParser.forEach (XmlSchemaParser.java:464)
    at uk.co.real_logic.sbe.xml.XmlSchemaParser.findTypes (XmlSchemaParser.java:199)
    at uk.co.real_logic.sbe.xml.XmlSchemaParser.parse (XmlSchemaParser.java:137)
    at uk.co.real_logic.sbe.SbeTool.parseSchema (SbeTool.java:297)
    at uk.co.real_logic.sbe.SbeTool.main (SbeTool.java:204)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
    at java.lang.Thread.run (Thread.java:748)

SBE to and from Orchestra

We want to use Orchestra to drive and version our SBE templates. Having XSLT as a requirement is challenging as XSLT adoption and availability of XSLT processors waning. These tools would be much better implemented as Python programs, especially given the wide use of Python for DevOps and DevSecOps automation. Would it be possible to port these over to Python and then as we use them - put feedback, issues, and enhancement requests against the Python versions instead of the XSLT versions.

orchestra2sbe: name too long for SBE

Some element names in Orchestra may be long for SBE. The SBE schema restricts names to 64 characters. How to deal with this? At minimum there should be a validation error. Alternatively, the translator could truncate names to the SBE limit.

New module - SBE message schema validator

An SBE message schema validator would validate that a file conforms to the XML schema, but it could also apply other rules that are not enforced by the schema itself.

It should validate SBE version 1.0 Standard as well as latest release candidate.

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.