fixtradingcommunity / fix-sbe-utilities Goto Github PK
View Code? Open in Web Editor NEWUtilities and demonstration code for FIX Simple Binary Encoding
License: Apache License 2.0
Utilities and demonstration code for FIX Simple Binary Encoding
License: Apache License 2.0
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.
The XML namespaces in the output of XSL Transforms are not as expected. Either the prefixes are not as expected or extra namespace nodes are included in output.
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)
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.
xmlns:fixr="http://fixprotocol.io/2016/fixrepository" is an obsolete location. Should be
xmlns:fixr="http://fixprotocol.io/2020/orchestra/repository"
Add a test step to validate the generated SBE file.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.