Unable to import/open model generated from Camunda Java API

Camunda BPM modeller generate the following BPMN model

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<definitions id="definitions_357f43ba-8ca2-47a1-83b5-9dcd37ae60d7" targetNamespace="http://bpmn.io/schema/bpmn" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
  <process id="process_2a5f7261-e385-469e-88dc-4023492fc1a8">
    <startEvent id="start">
    <endEvent id="end"/>
    <userTask id="task0" name="Case Review">
    <userTask id="task1" name="Case ReCheck"/>
    <sequenceFlow id="flow2" sourceRef="start" targetRef="task0"/>

i try to open in the BPMN.io web modeller it give no diagram found error any idea why ?

Your BPMN doesn’t include any DI. It contains a process so it can be executed but without the DI nothing can be displayed.