Skip to content

FMI parsing: accept patch-level FMI 3.0.x versions - #218

Closed
jschueller wants to merge 1 commit into
modelon-community:masterfrom
jschueller:parse3
Closed

FMI parsing: accept patch-level FMI 3.0.x versions#218
jschueller wants to merge 1 commit into
modelon-community:masterfrom
jschueller:parse3

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

Replace exact strcmp("3.0") with a prefix check that also accepts "3.0.1", "3.0.x", etc. as FMI 3.0, while rejecting "3.1", "3.2".

Closes #217

Replace exact strcmp("3.0") with a prefix check that also accepts
"3.0.1", "3.0.x", etc. as FMI 3.0, while rejecting "3.1", "3.2".

Closes modelon-community#217
@PeterMeisrimelModelon

Copy link
Copy Markdown
Contributor

Thanks for the PR; I took the proposed fix and also ported it to the other versions + added a unit test for it, see #219

@jschueller jschueller closed this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FMI Version Parsing Is Too Strict for FMI 3.0.x FMUs

2 participants