I don't have much experience with Java nor with BPMN but m****y goal is to create a code that parse a .bpmn file deducing some information from it.
I don't need to execute the processes, I just need to infer some informations such as:
I've tried to look into the main technologies such as: Camunda, Flowable and jBPM; but to me they all seem to target the execution of processes rather than a merely syntactic analysis (which I think is what I need).
I'm now thinking of creating a code that parse the XML of a BPMN diagram using technologies like DOM or SAX.
Does anyone have a suggestion on how I should approach my goal ??
You can have a look at the Camunda library I used here: https://github.com/rob2universe/bpmn-creator
Alternatively, if you prefer JS, you may find https://bpmn.io/ helpful.