Skip to content

JSBML library runs forever when extracting SBML file to extract format and version #2

@ntung

Description

@ntung

When the file service invokes the function to guess the format of a specific file, it goes forever and rarely returns a guessing format. In particular, it happens with well-known standards such as SBML, see the log below.

2026-02-07 10:26:49.760  INFO 888392 --- [omex-creation-5] d.u.s.cbext.recognizer.SbmlRecognizer    : Using StAX library to extract SBML Level and Version instead of using JSBML library.
2026-02-07 10:26:50.286  INFO 888392 --- [omex-creation-5] d.u.s.cbext.recognizer.SbmlRecognizer    : Using StAX library to extract SBML Level and Version instead of using JSBML library.

We might move away from parsing the files to read the header file. Using a heuristic approach is worth to speed up the format detection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions