bpmn-io / bpmn-js

A BPMN 2.0 rendering toolkit and web modeler.
https://bpmn.io/toolkit/bpmn-js/
Other
8.62k stars 1.33k forks source link

When editing, it is likely to cause the loss of xml 'xmlns' #2261

Open zxuanhong opened 11 hours ago

zxuanhong commented 11 hours ago

Describe the Bug

  1. If no attribute modification operation is performed after creating the model, it will result in the loss of the xml xmlns
  2. video

https://github.com/user-attachments/assets/db0ab75e-4bca-45da-aee5-a6f1814eb7ff

  1. After adding elements and modifying properties, it returned to normal

https://github.com/user-attachments/assets/dccff907-24d4-4190-9ca1-611613bfc20d

Environment

nikku commented 8 hours ago

I apprechiate your video as steps to reproduce, could you also attach a human readable description?

What xmlns do you expect to be there, for what reason?

And why is it a bug that the namespace is NOT there?

In which concrete way can I reproduce this on my machine?