Open brynrhodes opened 1 year ago
It's a bug on Jackson's XML processing: https://github.com/FasterXML/jackson-dataformat-xml/issues/525
I thought it might be something like that. And thank you for posting the regex fix in your commit, super helpful!
I'll see if I can get the serializer to write it that way for a longer term fix.
For some reason I don't understand, the position of the xsi:type attribute in the XML ModelInfo matters:
https://github.com/cqframework/clinical_quality_language/commit/e0fd90ddcd4bf47b0218eddfeb54af9aa9e026e9
Fixup the ModelInfo serialization to produce XML that ensures that the type attribute is the first attribute listed in the ModelInfo.