AnsweredAssumed Answered

BpmnParser is not extensible

Question asked by cstettler on Sep 23, 2010
Latest reply on Sep 27, 2010 by iravanchi
Extending the default BpmnParser (e.g. for handling custom XML elements / attributes) is currently not possible (as of beta 1) as the underlying BpmnParse class has package/default visibility only. Extending the parser is often the only mean to introduce custom behaviour or values, e.g. if one wants to create a custom activiti or activiti behavior for a certain BPMN element.

I think providing support for extending the parsing mechanism is crucial. Minimum would be to allow developers to provide custom implementations, nicer would be a way to register a kind of parse handlers for specific elements in a specific namespace and to override parse handlers for default element types.

What do you think is the right approach to follow here?

Thank you & regards,
Christian

Outcomes