Skip to content
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

Position of xsi:type attribute in ModelInfo matters #401

Open
brynrhodes opened this issue Sep 26, 2022 · 3 comments
Open

Position of xsi:type attribute in ModelInfo matters #401

brynrhodes opened this issue Sep 26, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@brynrhodes
Copy link
Member

For some reason I don't understand, the position of the xsi:type attribute in the XML ModelInfo matters:

cqframework/clinical_quality_language@e0fd90d

Fixup the ModelInfo serialization to produce XML that ensures that the type attribute is the first attribute listed in the ModelInfo.

@brynrhodes brynrhodes added the bug Something isn't working label Sep 26, 2022
@vitorpamplona
Copy link

It's a bug on Jackson's XML processing: FasterXML/jackson-dataformat-xml#525

@brynrhodes
Copy link
Member Author

I thought it might be something like that. And thank you for posting the regex fix in your commit, super helpful!

@brynrhodes
Copy link
Member Author

I'll see if I can get the serializer to write it that way for a longer term fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants