-
Notifications
You must be signed in to change notification settings - Fork 8
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
[md2orchestra] Generated XML omits the datatypes **MultipleStringValue** and **MultipleCharValue** #53
Comments
Tested with Tablature v1.0.2, error confirmed. No reference file used, only the datatype name was added: <fixr:datatypes>
<fixr:datatype name="Length"/>
<fixr:datatype name="String"/>
<fixr:datatype name="Qty"/>
<fixr:datatype name="SeqNum"/>
<fixr:datatype name="UTCTimestamp"/>
<fixr:datatype name="MonthYear"/>
<fixr:datatype name="Price"/>
<fixr:datatype name="char"/>
<fixr:datatype name="Exchange"/>
</fixr:datatypes> Markdown source included |
Since the original issue was opened I have found more about the issue. The generated XML includes datatypes of Fields in the Markdown but does not include the following:
I currently patch the XML after generation to include the missing datatypes before using it to generate our mapping files. For example currently I need to add: |
Just to confirm that the datatypes are missing with and without using the "-r" option for a reference file. To be investigated, sorry for dropping the ball on this @outofphase. |
…e** and **MultipleCharValue** #53
Using build #95 of the tools with my ROE I find that some of the missing datatypes are now present, but some are still absent. It appears the Union Datatypes ('Reserved1000Plus', 'Reserved4000Plus', Reserved100Plus', 'Tenor') are now added, but the Datatypes only used by Codesets are still not included. I still need to patch the generated XML: |
Tested itiviti.md markdown file, and it produces MultipleStringValue type when used with a reference file. That small file has no union datatypes. Other tests pick up union types from the reference file even when it is not explicit in the markdown. There are many code paths to discover types that are not explicit in input. |
XML generated by md2orchestra omits the datatypes MultipleStringValue and MultipleCharValue
Generating an XML file from a minimal Markdown file should include all required elements from the reference file specified as a parameter to
md2orchestra
, however although most Datatypes are included in the generated XML neither MultipleStringValue nor MultipleCharValue are.Problem confirmed to exist in released v1.0.1 of tablature.
To verify/reproduce:
md2orchestra
and confirm that the problem Datatypes are missing.itiviti.md
itiviti.orig.md
The text was updated successfully, but these errors were encountered: