Parsing xml at backend

Hi guys,

We are having severe issues with performance of bpmn-io at frontend.
Parsing of bpmn xml takes up to 3 seconds.
We are trying an approach of parsing the xml at backend and put definitions directly at
I was wondering if you are aware of a java library, which knows to parse xml to definitions.
I found a java library:
and was thinking of using BpmnModelInstance.definitions.
Are you familiar with this library?
Do you know if it is the same model as bpmn-js:BpmnModdle:definitions?

Thanks a lot


Cross-posted from Camunda forum. Please do not do this :wink:.