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