class Bpmn2Resource extends XMLResourceImpl {

    Map<Object, Object> createLoadOptions() {
        Map<Object, Object> options = createDefaultOptions();
        options.put(XMLResource.OPTION_USE_XML_NAME_TO_FEATURE_MAP, new HashMap<>());
        options.put(XMLResource.OPTION_DOM_USE_NAMESPACES_IN_SCOPE, true);
        return options;
    }

    protected  Bpmn2Resource(URI uri);

}