Definition of XMLNS

Hi guys, I created extension element in my BPMN :

and after that i can open normally in BPMN-js but when i save it, and reopen , i got the error because the attribute XMLNS from “Android” element moves to main definitions of namespaces.

Thanks everyone for advaice =)

Nested namespace definitions are not supported by bpmn-js as of yet. Declare your namespace in the root using a namespace prefix and you’ll be fine.

We appreciate pull requests in moddle-xml to address this issue, too!

I’ve created an issue for this bug.