Not able load bpmn file on demo.bpmn.io

I have created following file dynamically.

<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1dp75ij" targetNamespace="http://bpmn.io/schema/bpmn">
    <bpmn:collaboration id="Collaboration_eZF9UXDU">
        <bpmn:participant id="Participant_y8EXZTQA" name="Supervisor" processRef="Process_1" />
        <bpmn:participant id="Participant_6meyxQ2C" name="Employee" processRef="Process_1" />
        <bpmn:participant id="Participant_5EI01r4r" name="HR Transactional Stream" processRef="Process_1" />
        <bpmn:participant id="Participant_K3cTTJeX" name="Employee Benefits" processRef="Process_1" />
        <bpmn:participant id="Participant_fx6skJzg" name="Payroll" processRef="Process_1" />
        <bpmn:participant id="Participant_uSRTS7g2" name="Staff Development" processRef="Process_1" />
        <bpmn:participant id="Participant_ZBYSw02p" name="HR Advisory Stream" processRef="Process_1" />
    </bpmn:collaboration>
    <bpmn:process id="Process_1" isExecutable="false">
        <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_13h2c9w7" />
        <bpmn:subProcess id="SubProcess_shVD3juM" name="Recruitment/Appointment Subprocess" />
        <bpmn:subProcess id="SubProcess_7VixFoyY" name="Contract Subprocess" />
        <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_nCXvsIgw" />
        <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_76l6Xsod" />
        <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_oaFri0MU" />
        <bpmn:subProcess id="SubProcess_USt3ZBl4" name="Immunisations Subprocess?" />
        <bpmn:subProcess id="SubProcess_M9HbshPL" name="Payroll ATO Subprocess" />
        <bpmn:subProcess id="SubProcess_9VkC0A1W" name="Employy Benefits Super Fund Subprocess(es)" />
        <bpmn:task id="Task_L3Z9QkzM" name=""></bpmn:task>
        <bpmn:task id="Task_cFOnSH8u" name=""></bpmn:task>
        <bpmn:subProcess id="SubProcess_32XKvexk" name="Training Record Subprocess(es)" />
        <bpmn:task id="Task_jPPzkzB7" name=""></bpmn:task>
        <bpmn:subProcess id="SubProcess_JhogxMcb" name="Pre-employment Screening Subprocesses" />
        <bpmn:subProcess id="SubProcess_ZwM3oLmG" name="Probation Subprocess(es)" />
        <bpmn:task id="Task_uQXAIMSs" name=""></bpmn:task>
        <bpmn:textAnnotation id="TextAnnotation_iq5OAORe">
            <bpmn:text>Sometimes not provided until the first day of employment.</bpmn:text>
        </bpmn:textAnnotation>
        <bpmn:textAnnotation id="TextAnnotation_6XLtO7jC">
            <bpmn:text>Onboarding “as-is” process
            </bpmn:text>
        </bpmn:textAnnotation>
        <bpmn:subProcess id="SubProcess_UIgYQxkx" name="Commit to Payroll Subprocess" />
    </bpmn:process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_1">
        <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_eZF9UXDU">
            <bpmndi:BPMNShape id="Participant_y8EXZTQA_di" bpmnElement="Participant_y8EXZTQA">
                <dc:Bounds x="-4495" y="-1801" width="10874" height="600" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_6meyxQ2C_di" bpmnElement="Participant_6meyxQ2C">
                <dc:Bounds x="-4495" y="-2396" width="10874" height="590" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_5EI01r4r_di" bpmnElement="Participant_5EI01r4r">
                <dc:Bounds x="-4495" y="-1228" width="10874" height="418" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_K3cTTJeX_di" bpmnElement="Participant_K3cTTJeX">
                <dc:Bounds x="-4495" y="-425" width="10874" height="418" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_fx6skJzg_di" bpmnElement="Participant_fx6skJzg">
                <dc:Bounds x="-4495" y="13" width="10874" height="458" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_uSRTS7g2_di" bpmnElement="Participant_uSRTS7g2">
                <dc:Bounds x="-4495" y="390" width="10874" height="" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Participant_ZBYSw02p_di" bpmnElement="Participant_ZBYSw02p">
                <dc:Bounds x="-4495" y="-827" width="10874" height="385" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="IntermediateThrowEvent_13h2c9w7_di" bpmnElement="IntermediateThrowEvent_13h2c9w7">
                <dc:Bounds x="-9706" y="-827" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_shVD3juM_di" bpmnElement="SubProcess_shVD3juM" isExpanded="true">
                <dc:Bounds x="-9460" y="-827" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_7VixFoyY_di" bpmnElement="SubProcess_7VixFoyY" isExpanded="true">
                <dc:Bounds x="-8834" y="-827" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="IntermediateThrowEvent_nCXvsIgw_di" bpmnElement="IntermediateThrowEvent_nCXvsIgw">
                <dc:Bounds x="-7227" y="-1658" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="IntermediateThrowEvent_76l6Xsod_di" bpmnElement="IntermediateThrowEvent_76l6Xsod">
                <dc:Bounds x="-4373" y="-1838" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="IntermediateThrowEvent_oaFri0MU_di" bpmnElement="IntermediateThrowEvent_oaFri0MU">
                <dc:Bounds x="-4363" y="-2396" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_USt3ZBl4_di" bpmnElement="SubProcess_USt3ZBl4" isExpanded="true">
                <dc:Bounds x="-6391" y="-2396" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_M9HbshPL_di" bpmnElement="SubProcess_M9HbshPL" isExpanded="true">
                <dc:Bounds x="-2183" y="399" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_9VkC0A1W_di" bpmnElement="SubProcess_9VkC0A1W" isExpanded="true">
                <dc:Bounds x="-85" y="-416" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Task_L3Z9QkzM_di" bpmnElement="Task_L3Z9QkzM">
                <dc:Bounds x="184" y="-416" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Task_cFOnSH8u_di" bpmnElement="Task_cFOnSH8u">
                <dc:Bounds x="-1937" y="399" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_32XKvexk_di" bpmnElement="SubProcess_32XKvexk" isExpanded="true">
                <dc:Bounds x="-731" y="398" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Task_jPPzkzB7_di" bpmnElement="Task_jPPzkzB7">
                <dc:Bounds x="-459" y="398" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_JhogxMcb_di" bpmnElement="SubProcess_JhogxMcb" isExpanded="true">
                <dc:Bounds x="-9147" y="-827" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_ZwM3oLmG_di" bpmnElement="SubProcess_ZwM3oLmG" isExpanded="true">
                <dc:Bounds x="172" y="-2382" width="140" height="120" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Task_uQXAIMSs_di" bpmnElement="Task_uQXAIMSs">
                <dc:Bounds x="400" y="-2382" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="TextAnnotation_iq5OAORe_di" bpmnElement="TextAnnotation_iq5OAORe">
                <dc:Bounds x="-8003" y="-2421" width="99.99305040770942" height="29.99907338769459" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="TextAnnotation_6XLtO7jC_di" bpmnElement="TextAnnotation_6XLtO7jC">
                <dc:Bounds x="-8490" y="-2851" width="99.99305040770942" height="29.99907338769459" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="SubProcess_UIgYQxkx_di" bpmnElement="SubProcess_UIgYQxkx" isExpanded="true">
                <dc:Bounds x="-2824" y="-1228" width="140" height="120" />
            </bpmndi:BPMNShape>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</bpmn:definitions>

Whenever i tries to import this file on demo.bpmn.io, it becomes unresponsive. However we have created other files which are 10 times huge than this one but those gets loaded and shows the output on demo.bpmn.io

We are still playing with X/Y ordinates. So do not worry about actual diagram.

Hi @kunal

It seems that there are lots of errors regarding your diagram:

I just tried to verify you diagram with our bpmn-linting-tool. It reveals that there are a lot of errors.

However…

We are still playing with X/Y ordinates. So do not worry about actual diagram.

… so you already detected the problem?

Thanks for the quick reply. I was not aware that we can see errors in console. This will definitely help in future.

Actually we are trying to convert VISIO files into BPMN file in PHP. Do we have any library to achieve this? I searched for this but did not come across any library.

1 Like