Modeler makes a lot of changes to file even for small change

OK, here is the before
cancel_v6.bpmn (19.4 KB)
and after
cancel_v6_modeler.bpmn (18.8 KB)
We get the following XML failures when it gets parsed:

2024-03-08 19:41:11,228 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 739, 31): cvc-complex-type.2.4.b: The content of element 'bpmn2:ioSpecification' is not complete. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":dataInput, "http://www.omg.org/spec/BPMN/20100524/MODEL":dataOutput, "http://www.omg.org/spec/BPMN/20100524/MODEL":inputSet}' is expected.
2024-03-08 19:41:11,231 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 1,006, 31): cvc-complex-type.2.4.b: The content of element 'bpmn2:ioSpecification' is not complete. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":dataInput, "http://www.omg.org/spec/BPMN/20100524/MODEL":dataOutput, "http://www.omg.org/spec/BPMN/20100524/MODEL":inputSet}' is expected.
2024-03-08 19:41:11,304 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 124, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 127, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 130, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 133, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 136, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 139, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 142, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 145, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
2024-03-08 19:41:11,305 ERROR [default task-36]  org.drools.core.xml.ExtensibleXmlParser: (null: 198, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.