Skip to content

Unknown node type: name=sbe:type #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
david-gibbs-ig opened this issue Nov 18, 2020 · 3 comments
Open

Unknown node type: name=sbe:type #6

david-gibbs-ig opened this issue Nov 18, 2020 · 3 comments

Comments

@david-gibbs-ig
Copy link
Contributor

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)

@donmendelson
Copy link
Member

The orchestra2sbe utility was developed using SBE version 2.x, the latest version of the SBE schema at the time. However, I believe that the real-logic project is still pegged to SBE 1.0. (Correct me if I'm wrong.) Since version 1.0 is a finalized technical specification (Also we plan to submit v1.0 to ISO.) while 2.x is still in release candidate, orchestra2sbe should support it.

@david-gibbs-ig
Copy link
Contributor Author

@donmendelson
Copy link
Member

I added scripts and validations for version 1.0 and 2.x, but the namespace problem remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants